@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
/* 파주 다나아병원 — LAMP 사이트 스타일 (검증된 v3 디자인 그대로, .v3 래퍼 스코프) */
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }

/* ==========================================================================
   v3 — 파주 다나아병원 / 프리미엄 메디컬 에디토리얼
   기존 v1·v2(globals.css)와 충돌 방지를 위해 전부 .v3 스코프 안에 정의
   모바일 퍼스트 (375/390 기준) → md(768) → lg(1024)
   ========================================================================== */

.v3 {
  /* 브랜드 컬러 — 기존 네이비/그린을 더 깊고 차분하게 정제 */
  --navy: #1f2d5e;
  --navy-deep: #131c3c;
  --navy-soft: #2c3d75;
  --sage: #7c9a4e;
  --sage-deep: #5f7c39;
  --sage-tint: #eef2e4;
  --ink: #19223a;
  --muted: #6c7384;
  --line: #e7e9f0;
  --paper: #f7f8f5;
  --paper-2: #eef1f7;
  --white: #ffffff;

  --shadow-sm: 0 2px 14px rgba(20, 28, 60, 0.06);
  --shadow-md: 0 18px 50px rgba(20, 28, 60, 0.10);
  --shadow-lg: 0 30px 80px rgba(20, 28, 60, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  color: var(--ink);
  background: var(--white);
  font-family: "Pretendard Variable", Pretendard, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}

.v3 *,
.v3 *::before,
.v3 *::after {
  box-sizing: border-box;
}

.v3 a {
  color: inherit;
  text-decoration: none;
}

.v3 img,
.v3 video {
  display: block;
  max-width: 100%;
}

/* 공통 컨테이너 / 간격 토큰 */
.v3 .wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.v3 .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--sage-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.v3 .eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--sage);
}

.v3 .eyebrow.center {
  justify-content: center;
}

.v3 .eyebrow.light {
  color: rgba(255, 255, 255, 0.72);
}

.v3 .eyebrow.light::before {
  background: var(--sage);
}

.v3 h2 {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 50px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.v3 .lede {
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
  font-weight: 500;
}

/* 스크롤 리빌 모션 */
.v3 [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}

.v3 [data-reveal].v3-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .v3 [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===========================================================
   Header
   =========================================================== */
.v3-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), height 0.35s var(--ease);
  /* 항상 흰색 솔리드 상단바 (투명 헤더 미사용) */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(20, 28, 60, 0.06);
}

.v3-header.solid {
  background: rgba(255, 255, 255, 0.95);
}

.v3-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.35s var(--ease);
}

.v3-header.solid .v3-logo {
  color: var(--ink);
}

.v3-logo b {
  color: var(--sage);
  font-weight: 900;
}

.v3-header.solid .v3-logo b {
  color: var(--navy);
}

.v3-logo small {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.v3-nav {
  display: none;
}

.v3-nav-item {
  position: relative;
  height: 68px;
  display: flex;
  align-items: center;
}

.v3-nav-item > a {
  padding: 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}

.v3-header.solid .v3-nav-item > a {
  color: var(--ink);
}

.v3-nav-item > a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 22px;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.v3-nav-item:hover > a::after {
  transform: scaleX(1);
}

.v3-sub {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 196px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.v3-nav-item::before {
  content: "";
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  height: 16px;
}

.v3-nav-item:hover .v3-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.v3-sub a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.v3-sub a:hover {
  background: var(--paper-2);
  color: var(--navy);
}

.v3-header-cta {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(124, 154, 78, 0.32);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.v3-header-cta:hover {
  transform: translateY(-2px);
  background: var(--sage-deep);
}

/* 햄버거 */
.v3-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: none;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.v3-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease),
    opacity 0.2s var(--ease);
}

.v3-header.solid .v3-burger span {
  background: var(--ink);
}

.v3-burger.open span {
  background: #fff;
}

.v3-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.v3-burger.open span:nth-child(2) {
  opacity: 0;
}

.v3-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 모바일 드로어 */
.v3-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  padding: 92px 26px 40px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease),
    visibility 0.3s var(--ease);
  overflow-y: auto;
}

.v3-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.v3-drawer-group {
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.v3-drawer-group > a {
  display: block;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 14px;
}

.v3-drawer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.v3-drawer-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.v3-drawer-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 16px;
  background: var(--sage);
  font-size: 19px;
  font-weight: 900;
}

/* ===========================================================
   Hero
   =========================================================== */
.v3-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 120px 0 0;
}

.v3-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* 모바일 짤림 최소화: 중앙 보존 */
}

.v3-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(15, 21, 44, 0.55) 0%,
      rgba(15, 21, 44, 0.18) 32%,
      rgba(15, 21, 44, 0.62) 78%,
      rgba(15, 21, 44, 0.86) 100%
    ),
    linear-gradient(90deg, rgba(15, 21, 44, 0.55), rgba(15, 21, 44, 0) 60%);
}

.v3-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 40px;
  color: #fff;
}

.v3-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(38px, 9vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 900;
  text-shadow: 0 4px 30px rgba(10, 16, 38, 0.35);
}

.v3-hero h1 .accent {
  color: var(--sage);
}

/* 영상 진행에 따라 줄별로 하나씩 등장 (레퍼런스 sj365 스타일) */
.v3-hero-rotator .line {
  opacity: 0;
  transform: translateY(16px);
  animation: v3LineIn 0.7s var(--ease) forwards;
  animation-delay: var(--ld, 0ms);
}

.v3-hero-rotator h1 .line {
  display: block;
}

@keyframes v3LineIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.v3-hero-kicker {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--sage);
}

.v3-hero-dots {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}

.v3-hero-dots button {
  width: 26px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: background 0.35s var(--ease), width 0.35s var(--ease);
}

.v3-hero-dots button.on {
  width: 44px;
  background: var(--sage);
}

@media (prefers-reduced-motion: reduce) {
  .v3-hero-rotator .line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.v3-hero-lead {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.7;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.v3-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.v3-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 800;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.v3-btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 14px 34px rgba(124, 154, 78, 0.4);
}

.v3-btn-primary:hover {
  transform: translateY(-3px);
  background: var(--sage-deep);
}

.v3-btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
}

.v3-btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

.v3-btn .arr {
  transition: transform 0.25s var(--ease);
}

.v3-btn:hover .arr {
  transform: translateX(4px);
}

/* 히어로 하단 인포 바 */
.v3-hero-bar {
  position: relative;
  z-index: 2;
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.v3-hero-bar > div,
.v3-hero-bar > a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v3-hero-bar span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.66);
}

.v3-hero-bar strong {
  font-size: clamp(17px, 3vw, 22px);
  font-weight: 800;
}

.v3-hero-bar strong.tel {
  color: var(--sage);
  letter-spacing: 0.01em;
}

/* ===========================================================
   Intro + 통계
   =========================================================== */
.v3-intro {
  padding: clamp(64px, 10vw, 130px) 0 clamp(40px, 6vw, 70px);
}

.v3-intro-grid {
  display: grid;
  gap: 26px;
}

.v3-intro h2 {
  max-width: 640px;
}

.v3-intro .lede {
  max-width: 540px;
}

.v3-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: clamp(36px, 5vw, 56px);
}

.v3-stat {
  padding: 26px 22px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.v3-stat b {
  display: block;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.v3-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}

/* ===========================================================
   진료센터 — 에디토리얼 카드
   =========================================================== */
.v3-care {
  padding: clamp(56px, 8vw, 100px) 0;
}

.v3-sec-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(34px, 5vw, 52px);
}

.v3-sec-head .lede {
  max-width: 520px;
}

.v3-care-grid {
  display: grid;
  gap: 16px;
}

.v3-care-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.v3-care-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}

.v3-care-card > * {
  position: relative;
  z-index: 1;
}

.v3-care-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.v3-care-card:hover::before {
  opacity: 1;
}

.v3-care-card:hover .v3-care-num,
.v3-care-card:hover h3,
.v3-care-card:hover .v3-care-go {
  color: #fff;
}

.v3-care-card:hover .v3-care-tags li {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
}

.v3-care-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--sage-deep);
  transition: color 0.4s var(--ease);
}

.v3-care-card h3 {
  margin: 14px 0 16px;
  font-size: clamp(23px, 3.4vw, 29px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}

.v3-care-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v3-care-tags li {
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.v3-care-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  transition: color 0.4s var(--ease);
}

.v3-care-card:hover .v3-care-go .arr {
  transform: translateX(5px);
}

.v3-care-go .arr {
  transition: transform 0.3s var(--ease);
}

/* ===========================================================
   진료 흐름 (다크 스텝)
   =========================================================== */
.v3-flow {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}

.v3-flow::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 154, 78, 0.28), transparent 70%);
  pointer-events: none;
}

.v3-flow h2 {
  color: #fff;
  max-width: 560px;
}

.v3-flow .lede {
  color: rgba(255, 255, 255, 0.74);
  max-width: 520px;
}

.v3-flow-steps {
  display: grid;
  gap: 14px;
  margin-top: clamp(36px, 5vw, 56px);
}

.v3-flow-step {
  position: relative;
  padding: 26px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.v3-flow-step:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-5px);
}

.v3-flow-step b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--sage);
}

.v3-flow-step strong {
  display: block;
  margin: 12px 0 9px;
  font-size: 20px;
  font-weight: 800;
}

.v3-flow-step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

/* ===========================================================
   섹션 풀블리드 배경 이미지 (레퍼런스 무드 — 이미지 위 텍스트)
   =========================================================== */
/* [B안] 인트로 + 통계 — 복도 배경을 '밝게'. 다크 텍스트 + 페이퍼 글래스 스탯 */
.v3-intro {
  position: relative;
  background: linear-gradient(rgba(249, 250, 247, 0.72), rgba(243, 245, 240, 0.84)),
    url("/media/gallery/g-corridor.webp") center / cover no-repeat;
}
.v3-intro .v3-stat {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* 진료센터 — 치료실 배경을 '밝게'(다크 연속 끊기). 다크 텍스트 + 흰 카드 그림자로 띄움 */
.v3-care {
  background: linear-gradient(rgba(249, 250, 247, 0.66), rgba(243, 245, 240, 0.8)),
    url("/media/gallery/treatment-room.webp") center / cover no-repeat;
}
.v3-care-card { box-shadow: var(--shadow-lg); }

/* 진료 흐름 — 네이비 대신 세이지 그린쪽 다크로 따뜻하게(인트로와 톤 구분) + CT 텍스처 */
.v3-flow {
  background: linear-gradient(150deg, rgba(37, 56, 49, 0.84) 0%, rgba(12, 24, 28, 0.92) 100%),
    url("/media/gallery/xray-care.webp") center / cover no-repeat;
}
.v3-flow::after {
  background: radial-gradient(circle, rgba(138, 168, 92, 0.5), transparent 66%);
  width: 520px;
  height: 520px;
}

/* PC 풀페이지 씬 전용 CTA — 기본 숨김(모바일은 카드 노출) */
.v3-pc-cta { display: none; }

/* 배경 사진을 화면에 고정 → 스크롤 시 경계가 올라오며 사진이 바뀌는 reveal 효과.
   데스크탑 전용(iOS 사파리는 fixed 배경 미지원 → 모바일은 일반 스크롤). */
@media (min-width: 1025px) {
  .v3-pc-cta { display: inline-flex; margin-top: 24px; }
  .v3-intro,
  .v3-care,
  .v3-flow {
    background-attachment: fixed;
  }

  /* PC 풀페이지 — sj365식. 각 씬이 한 화면 통으로 + 스크롤 스냅(경계 한 화면에 하나) */
  html { scroll-snap-type: y proximity; }
  .v3-hero { scroll-snap-align: start; }
  .v3-intro,
  .v3-care,
  .v3-flow {
    min-height: 100svh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .v3-feature {
    min-height: 100svh;
    scroll-snap-align: start;
  }
  /* 이미지 풀높이로 채워 위아래 빈 공간 제거 (카피는 컬럼 내 세로중앙) */
  .v3-feature-visual { min-height: 100svh; }
  /* 클린 씬 — 잡다한 카드/통계 숨김, 사진+문구만 (정보는 하단/서브페이지로) */
  .v3-intro .v3-stats { display: none; }
  .v3-care .v3-care-grid { display: none; }
  /* 씬 lede 한 줄 유지 */
  .v3-care .v3-sec-head .lede,
  .v3-flow .lede { max-width: none; white-space: nowrap; }
  /* 하단 정보 zone(프로그램·갤러리·공지) 은 스냅 제외, 일반 스크롤 */
  .v3-program,
  .v3-gallery,
  .v3-info,
  .v3-footer { scroll-snap-align: none; }
}

/* ===========================================================
   Feature (의료진/철학 split)
   =========================================================== */
.v3-feature {
  display: grid;
  gap: 0;
}

.v3-feature-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.v3-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.v3-feature:hover .v3-feature-visual img {
  transform: scale(1.05);
}

.v3-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 8vw, 90px) 22px;
  background: var(--paper);
}

.v3-feature-copy h2 {
  margin: 16px 0 18px;
  max-width: 460px;
}

.v3-feature-copy .lede {
  max-width: 460px;
}

.v3-feature-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.v3-feature-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

.v3-feature-points svg {
  flex: none;
  margin-top: 1px;
  color: var(--sage-deep);
}

.v3-feature-copy .v3-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.v3-text-link .arr {
  transition: transform 0.25s var(--ease);
}

.v3-text-link:hover .arr {
  transform: translateX(5px);
}

/* ===========================================================
   통합 케어 프로그램 — 이미지 타일
   =========================================================== */
.v3-program {
  padding: clamp(56px, 8vw, 100px) 0;
}

.v3-program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.v3-program-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  padding: 20px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.v3-program-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}

.v3-program-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(15, 21, 44, 0.12) 0%,
    rgba(15, 21, 44, 0.55) 58%,
    rgba(15, 21, 44, 0.92) 100%
  );
}

.v3-program-tile:hover img {
  transform: scale(1.07);
}

.v3-program-tile b {
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(8, 12, 30, 0.85), 0 1px 4px rgba(8, 12, 30, 0.55);
}

.v3-program-tile span {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--sage);
}

/* ===========================================================
   Facility 갤러리 — 매거진 비대칭 그리드
   =========================================================== */
.v3-gallery {
  padding: clamp(56px, 8vw, 100px) 0;
  background: var(--paper);
}

.v3-gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.v3-gallery-card {
  position: relative;
  min-height: 240px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}

.v3-gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.8s var(--ease);
}

.v3-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(13, 19, 40, 0.82) 0%,
    rgba(13, 19, 40, 0.05) 62%
  );
}

.v3-gallery-card:hover img {
  transform: scale(1.06);
}

.v3-gallery-cap {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
}

.v3-gallery-cap strong {
  display: block;
  font-size: clamp(18px, 2.6vw, 23px);
  font-weight: 800;
}

.v3-gallery-cap p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* 시설 갤러리(추가 실사진) — 균일 그리드 */
.v3-gallery-more {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.v3-gallery-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
}

.v3-gallery-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.v3-gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 19, 40, 0.7) 0%, rgba(13, 19, 40, 0) 55%);
}

.v3-gallery-thumb span {
  position: absolute;
  left: 16px;
  bottom: 13px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.v3-gallery-thumb:hover img {
  transform: scale(1.06);
}

/* ===========================================================
   공지 + 진료안내/오시는 길
   =========================================================== */
.v3-info {
  padding: clamp(56px, 8vw, 100px) 0 clamp(64px, 9vw, 120px);
}

.v3-info-grid {
  display: grid;
  gap: 40px;
}

.v3-notice-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.v3-notice-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.v3-notice-item:hover {
  border-color: var(--sage);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.v3-notice-item span {
  flex: none;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: 12.5px;
  font-weight: 800;
}

.v3-notice-item strong {
  flex: 1;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}

.v3-notice-item time {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* 진료안내 카드 */
.v3-hours {
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(165deg, var(--navy), var(--navy-deep));
  color: #fff;
  box-shadow: var(--shadow-md);
}

.v3-hours h3 {
  margin: 14px 0 18px;
  font-size: 24px;
  font-weight: 800;
}

.v3-hours ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.v3-hours li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.v3-hours li span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
}

.v3-hours li strong {
  font-size: 15.5px;
  font-weight: 800;
}

.v3-hours li strong.off {
  color: rgba(255, 255, 255, 0.5);
}

.v3-hours-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--sage);
  margin-bottom: 10px;
  color: #fff;
}

.v3-hours-call svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.v3-hours-call strong {
  font-size: clamp(19px, 5.2vw, 22px);
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.v3-hours-map {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
}

.v3-hours-addr {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* 홈 하단 오시는 길 : 진료안내 패널(좌) + 지도(우) — 클라 목업 레이아웃 */
.v3-locrow {
  display: grid;
  gap: 22px;
  margin-top: clamp(40px, 6vw, 64px);
}
.v3-locrow .v3-hours {
  margin: 0;
}
.v3-homeloc-map {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-height: 360px;
}
.v3-homeloc-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (min-width: 1024px) {
  .v3-locrow {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: stretch;
  }
  .v3-homeloc-map {
    min-height: 0;
  }
}

/* ===========================================================
   Footer
   =========================================================== */
.v3-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.66);
  padding: clamp(48px, 7vw, 72px) 0 40px;
}

.v3-footer-top {
  display: grid;
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.v3-footer-brand b {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.v3-footer-brand b i {
  color: var(--sage);
  font-style: normal;
}

.v3-footer-brand p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.v3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.v3-footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s var(--ease);
}

.v3-footer-links a:hover {
  color: #fff;
}

.v3-footer-bot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
}

.v3-footer-bot p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.46);
}

.v3-footer-bot a {
  font-size: 24px;
  font-weight: 900;
  color: var(--sage);
}

/* ===========================================================
   Floating CTA (모바일)
   =========================================================== */
/* 우측 세로 플로팅 위젯 — 블로그 / 플레이스 / 전화 (라운드 버튼 스택, 클라 06-14 레퍼런스) */
.v3-float {
  position: fixed;
  right: 12px;
  bottom: 14px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.v3-float-btn {
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  color: var(--navy);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.v3-float-btn svg {
  width: 20px;
  height: 20px;
}

.v3-float-btn span {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.v3-float-btn:hover {
  transform: translateY(-2px);
}

.v3-float-blog,
.v3-float-place {
  color: #03c75a; /* 네이버 그린 */
}

.v3-float-call {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

/* ===========================================================
   반응형 — md (768+)
   =========================================================== */
@media (min-width: 768px) {
  .v3 .wrap {
    width: min(1180px, calc(100% - 56px));
  }

  .v3-hero-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .v3-hero-bar > div,
  .v3-hero-bar > a {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 28px;
    border-bottom: none;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .v3-hero-bar > :first-child {
    border-left: none;
    padding-left: 0;
  }

  .v3-intro-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 48px;
  }

  .v3-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .v3-care-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .v3-flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .v3-feature {
    grid-template-columns: 1fr 1fr;
  }

  .v3-feature-visual {
    min-height: 520px;
  }

  .v3-program-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .v3-program-tile {
    min-height: 320px;
  }

  .v3-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .v3-gallery-card {
    min-height: 0;
  }

  .v3-gallery-card.tall {
    grid-row: span 2;
  }

  .v3-gallery-card.wide {
    grid-column: span 2;
  }

  .v3-gallery-more {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 18px;
  }

  .v3-info-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
  }

  .v3-footer-top {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .v3-footer-links {
    justify-content: flex-end;
    max-width: 420px;
  }
}

/* ===========================================================
   반응형 — lg (1024+) : 데스크탑 내비 노출
   =========================================================== */
@media (min-width: 1024px) {
  .v3-header {
    height: 94px;
    padding: 0 clamp(32px, 5vw, 70px);
  }

  .v3-nav {
    display: flex;
    gap: clamp(22px, 3vw, 44px);
    align-items: center;
  }

  .v3-burger {
    display: none;
  }

  .v3-header-cta {
    display: inline-flex;
  }

  .v3-hero {
    padding-top: 140px;
  }

  .v3-flow-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .v3-float {
    right: 22px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    gap: 12px;
  }

  .v3-float-btn {
    width: 64px;
    height: 64px;
  }

  .v3-float-btn svg {
    width: 22px;
    height: 22px;
  }

  .v3-float-btn span {
    font-size: 10.5px;
  }
}

/* ===========================================================
   팝업 모달 (DB 관리, 클라 셀프설정)
   =========================================================== */
.v3-popups {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

/* 가운데(딤드 오버레이) */
.v3-popup-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 19, 40, 0.5);
  backdrop-filter: blur(3px);
  pointer-events: auto;
}

.v3-popup {
  width: 100%;
  max-width: 92vw;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(13, 19, 40, 0.4);
  animation: v3PopIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes v3PopIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* 우측 하단 토스트형 */
.v3-popup-corner {
  position: absolute;
  right: 16px;
  bottom: 96px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.v3-popup-corner .v3-popup {
  pointer-events: auto;
  max-width: min(340px, calc(100vw - 32px));
}

.v3-popup-link { display: block; color: inherit; }

.v3-popup img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.v3-popup-body {
  padding: 22px 22px 18px;
}

.v3-popup-body h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.v3-popup-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 500;
}

.v3-popup-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 12px 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.v3-popup-today {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}

.v3-popup-today input { accent-color: var(--navy); width: 15px; height: 15px; }

.v3-popup-close {
  padding: 9px 18px;
  border: none;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease;
}

.v3-popup-close:hover { background: var(--navy-deep); }

@media (min-width: 768px) {
  .v3-popup { max-width: var(--popw, 380px); }
}

/* ===========================================================
   서브페이지 (v3 톤)
   =========================================================== */
.v3-subtop {
  position: relative;
  padding: 116px 0 52px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  overflow: hidden;
}
.v3-subtop::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 154, 78, 0.26), transparent 70%);
  pointer-events: none;
}
.v3-subtop h1 {
  margin: 14px 0 0;
  font-size: clamp(30px, 5.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.025em;
}
.v3-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 700;
}
.v3-breadcrumb a { color: rgba(255, 255, 255, 0.66); }
.v3-breadcrumb span::before { content: "›"; margin-right: 10px; color: rgba(255, 255, 255, 0.4); }
.v3-breadcrumb span { color: var(--sage); }

.v3-sub-intro {
  padding: clamp(48px, 7vw, 86px) 0 clamp(28px, 4vw, 44px);
  text-align: center;
}
.v3-sub-intro .lede { max-width: 640px; margin: 0 auto; }
.v3-sub-intro h2 { max-width: 880px; margin: 16px auto 0; }
.v3-sub-intro .rule {
  display: block;
  width: 46px;
  height: 4px;
  margin: 30px auto 0;
  border-radius: 999px;
  background: var(--sage);
}

.v3-sub-content { padding: clamp(20px, 3vw, 36px) 0 clamp(60px, 9vw, 110px); }
/* 오시는 길 — 지도 + 정보 패널 (레퍼런스: 좌 지도 / 우 정보) */
.v3-loc { display: grid; gap: 20px; }
.v3-loc-map { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 320px; }
.v3-loc-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.v3-loc-info { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); padding: 30px 28px; }
.v3-loc-tel { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(26px, 4vw, 34px); font-weight: 900; color: var(--navy); letter-spacing: -0.01em; }
.v3-loc-tel svg { width: 22px; height: 22px; color: var(--sage-deep); }
.v3-loc-sub { margin: 8px 0 22px; font-size: 15px; font-weight: 700; color: var(--sage-deep); }
.v3-loc-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v3-loc-hours li { display: flex; align-items: center; gap: 12px; }
.v3-loc-lbl { flex: none; width: 64px; text-align: center; padding: 6px 0; border-radius: 999px; background: var(--sage); color: #fff; font-size: 13px; font-weight: 800; }
.v3-loc-lbl.off { background: var(--muted); }
.v3-loc-hours b { font-size: 16px; font-weight: 800; color: var(--ink); }
.v3-loc-hours b.off { color: var(--muted); font-weight: 700; }
.v3-loc-addr { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; font-weight: 600; }
.v3-loc-addr svg { color: var(--sage-deep); flex: none; }
.v3-loc-btns { display: flex; gap: 10px; margin-top: 18px; }
.v3-loc-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--navy); font-size: 14.5px; font-weight: 800; transition: background 0.25s var(--ease), transform 0.25s var(--ease); }
.v3-loc-btn svg { width: 16px; height: 16px; }
.v3-loc-btn.primary { background: var(--sage); border-color: var(--sage); color: #fff; }
.v3-loc-btn:hover { transform: translateY(-2px); }

.v3-sub-grid { display: grid; gap: 16px; }
.v3-sub-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.v3-sub-index {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.v3-sub-article h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--navy);
}
.v3-sub-article p { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.v3-sub-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.v3-sub-tags li {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 700;
}

/* 공지 전용 */
.v3-board { padding: 28px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.v3-board + .v3-board { margin-top: 16px; }
.v3-board h3 { margin: 8px 0 20px; font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: var(--navy); }
.v3-board-row {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.v3-board-row:first-of-type { border-top: none; }
.v3-board-tag {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: 12.5px;
  font-weight: 800;
}
.v3-board-row strong { font-size: 17px; font-weight: 800; }
.v3-board-row p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.v3-board-row time { color: var(--muted); font-size: 13px; font-weight: 700; }

.v3-fee-table { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.v3-fee-head, .v3-fee-row { display: grid; grid-template-columns: 1fr; }
.v3-fee-head { background: var(--navy); }
.v3-fee-head span { padding: 14px 18px; color: #fff; font-weight: 800; font-size: 14px; }
.v3-fee-row { border-top: 1px solid var(--line); }
.v3-fee-row span { padding: 14px 18px; }
.v3-fee-row .c { color: var(--navy); font-weight: 800; }
.v3-fee-row .i { font-weight: 700; }
.v3-fee-row .g { color: var(--muted); font-weight: 600; }

/* 하단 CTA */
.v3-sub-cta {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 6vw, 70px) 0;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}
.v3-sub-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; z-index: -1; }
.v3-sub-cta .wrap { color: #fff; }
.v3-sub-cta h2 { color: #fff; margin: 14px 0 0; }
.v3-sub-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(124, 154, 78, 0.34);
}

@media (min-width: 768px) {
  .v3-sub-article { grid-template-columns: 60px 1fr; gap: 28px; padding: 34px 32px; align-items: start; }
  .v3-loc { grid-template-columns: 1fr 1.7fr; gap: 24px; align-items: stretch; }
  .v3-loc-map, .v3-loc-map iframe { min-height: 540px; }
  .v3-board-row { grid-template-columns: 110px 1fr auto; align-items: center; gap: 22px; }
  .v3-board-tag { justify-self: center; }
  .v3-board-row time { text-align: right; }
  .v3-fee-head, .v3-fee-row { grid-template-columns: 0.8fr 1.4fr 1fr; }
  .v3-fee-row span { border-left: 1px solid var(--line); }
  .v3-fee-row span:first-child { border-left: none; }
}

/* 준비중(Coming Soon) 페이지 */
.v3-coming {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(48px, 9vw, 96px) 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}
.v3-coming-badge {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.v3-coming h3 {
  margin: 22px 0 12px;
  font-size: clamp(23px, 4vw, 33px);
  font-weight: 800;
  color: var(--navy);
}
.v3-coming p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.v3-coming-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

/* ===========================================================
   이미지 로고 (투명헤더=흰색 / solid=원본)
   =========================================================== */
.v3-logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* ===========================================================
   편지식 히어로 (sj365 스타일 — 영상 위 글만)
   =========================================================== */
.v3-hero-letter {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px;
}
.v3-hero-letter .v3-hero-veil {
  background: linear-gradient(180deg, rgba(12, 17, 38, 0.52), rgba(12, 17, 38, 0.42) 42%, rgba(12, 17, 38, 0.62));
}
.v3-letter {
  position: relative;
  z-index: 2;
  max-width: 980px;
}
.v3-letter-line {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 28px rgba(8, 12, 30, 0.6);
}

/* 타이핑식 노출 — 글자가 한 조각씩 빡빡 떠오름 (sj365 레퍼런스: 눈이 텍스트를 따라감).
   색상/하이라이트바/밑줄 없이 흰색으로 통일 (클라 06-14 요청) */
.v3-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.16em);
  animation: v3Type 0.26s var(--ease) forwards;
  animation-delay: var(--cd, 0ms);
}
@keyframes v3Type {
  from { opacity: 0; transform: translateY(0.16em); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 스크롤 유도 */
.v3-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.v3-scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  animation: v3ScrollDot 1.6s var(--ease) infinite;
}
@keyframes v3ScrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

@media (prefers-reduced-motion: reduce) {
  .v3-letter-line { animation: none; opacity: 1; transform: none; }
  .v3-ch { animation: none; opacity: 1; transform: none; }
  .v3-scroll-hint span { animation: none; }
}
