/* Hub Clinic — 혈액투석 전문의원
   톤: 상세페이지 청록 + 손글씨 강조 결 유지
   대상: 혈액투석 환자(중·노년), 가독성 우선 */

:root {
  --teal-900: #0F4A52;
  --teal-700: #1B5F69;
  --teal-600: #2E9BAB;
  --teal-500: #45B5C4;
  --teal-300: #97D5DE;
  --teal-100: #DCEEF1;
  --teal-50:  #F0F8FA;

  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;

  --paper: #FFFFFF;
  --paper-warm: #FAF5EC;
  --bg: #FAFAFA;

  --accent-coral: #E76F51;

  --shadow-sm: 0 1px 2px rgba(15, 74, 82, 0.04), 0 2px 6px rgba(15, 74, 82, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 74, 82, 0.08), 0 12px 28px rgba(15, 74, 82, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 74, 82, 0.10), 0 24px 56px rgba(15, 74, 82, 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; transition: color 200ms var(--ease); }
a:hover { color: var(--teal-600); }
button { font-family: inherit; cursor: pointer; }

.hand {
  font-family: 'Gaegu', 'Single Day', 'Pretendard Variable', cursive;
  font-weight: 700;
  color: var(--teal-600);
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--ink-900);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-600);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--teal-700) 100%);
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  padding: 8px 0;
  position: relative;
}
.nav__links a.is-active { color: var(--teal-700); }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--teal-600);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--teal-700);
  color: white;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}
.nav__cta:hover {
  background: var(--teal-600);
  color: white;
  transform: translateY(-1px);
}
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink-200);
  width: 44px; height: 44px;
  border-radius: 10px;
  padding: 0;
  align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink-800);
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 22px; height: 2px; background: var(--ink-800);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }

/* JS-injected mobile panel: default hidden (모바일 메뉴 열림 시에만 display: block) */
.nav__panel-wrap { display: none; }

@media (max-width: 900px) {
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: white;
  }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle {
    display: inline-flex;
    position: relative;
    z-index: 60;
    transition: transform 200ms var(--ease);
  }
  /* 햄버거 → X 전환 */
  body.menu-open .nav__toggle span { background: transparent; }
  body.menu-open .nav__toggle span::before {
    top: 0;
    transform: rotate(45deg);
  }
  body.menu-open .nav__toggle span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .nav__toggle span::before,
  .nav__toggle span::after {
    transition: transform 220ms var(--ease), top 220ms var(--ease), bottom 220ms var(--ease);
  }

  /* Drawer */
  body.menu-open .nav__links {
    display: flex;
    position: fixed;
    top: 68px; bottom: 0; left: 0;
    width: min(86%, 380px);
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    z-index: 49;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.12);
    animation: navSlideIn 260ms var(--ease);
  }
  body.menu-open .nav__links li {
    list-style: none;
    width: 100%;
  }
  body.menu-open .nav__links a:not(.nav__panel-cta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink-800);
    border-bottom: 1px solid var(--ink-100);
    min-height: 56px;
    transition: background 160ms var(--ease);
  }
  body.menu-open .nav__links a:not(.nav__panel-cta)::after {
    content: '›';
    font-size: 24px;
    color: var(--ink-400);
    font-weight: 400;
    line-height: 1;
  }
  body.menu-open .nav__links a:not(.nav__panel-cta):active {
    background: var(--ink-100);
  }
  body.menu-open .nav__links a.is-active {
    color: var(--teal-700);
    background: var(--teal-50);
  }
  /* 모바일 active chevron 정상 위치 강제 — 데스크탑 underline absolute 룰 reset */
  body.menu-open .nav__links a.is-active::after {
    content: '›';
    position: static;
    left: auto; right: auto; bottom: auto;
    width: auto; height: auto;
    background: transparent;
    color: var(--teal-600);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
  }

  /* 응급 정보 패널 (JS가 nav__links 첫 자식으로 inject)
     모바일 메뉴 열림 상태에서만 보임. 닫힘/데스크탑에서는 강제 hide */
  body.menu-open .nav__panel-wrap { display: block; }
  .nav__panel {
    padding: 20px 24px;
    background: var(--teal-50);
    border-bottom: 1px solid var(--ink-100);
  }
  .nav__panel-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
  }
  .nav__panel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
    flex-shrink: 0;
  }
  .nav__panel-status strong {
    color: var(--ink-900);
    font-weight: 700;
  }
  .nav__panel-status span { color: var(--ink-600); }
  .nav__panel-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    background: var(--teal-700);
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(15, 74, 82, 0.18);
    color-scheme: light;
    forced-color-adjust: none;
  }
  .nav__panel-cta svg { flex-shrink: 0; color: #ffffff; }
  .nav__panel-cta-label {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.01em;
  }
  .nav__panel-cta-number {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.005em;
    font-variant-numeric: tabular-nums;
  }
  .nav__panel-cta:active {
    background: #0A3940;
    transform: translateY(1px);
  }

  /* Backdrop (JS가 동적 생성) */
  .nav__backdrop {
    position: fixed;
    inset: 68px 0 0 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 48;
    animation: backdropFade 260ms var(--ease);
    cursor: pointer;
  }

  /* Body scroll lock (메뉴 열림 상태) */
  body.menu-open { overflow: hidden; }

  /* 기존 fixed nav__cta 제거 (응급 panel로 대체) */
  body.menu-open .nav__cta { display: none; }
}

@keyframes navSlideIn {
  from { transform: translateX(-12px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes backdropFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink-900);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img,
.hero__bg video,
.hero__video,
.hero__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero__poster { z-index: 0; }
.hero__bg video,
.hero__video { z-index: 1; }
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 74, 82, 0.72) 0%,
    rgba(15, 74, 82, 0.35) 40%,
    rgba(15, 23, 42, 0.55) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  color: white;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero__eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--teal-300);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(151, 213, 222, 0.25);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  font-weight: 800;
  max-width: 18ch;
}
.hero h1 .hand {
  color: var(--teal-300);
  font-size: 1.05em;
  display: inline-block;
  transform: rotate(-2deg);
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 32em;
  opacity: 0.9;
  margin: 0 0 40px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 16px;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
  border: 0;
}
.btn--primary {
  background: var(--teal-600);
  color: white;
}
.btn--primary:hover {
  background: var(--teal-500);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: white;
  transform: translateY(-2px);
}
.btn--dark {
  background: var(--ink-900);
  color: white;
}
.btn--dark:hover {
  background: var(--teal-700);
  color: white;
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--teal-700);
  border: 2px solid var(--teal-600);
}
.btn--outline:hover {
  background: var(--teal-600);
  color: white;
}

.hero__quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
  max-width: 720px;
}
.hero__quick > div {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__quick > div:last-child { border-right: 0; }
.hero__quick dt {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero__quick dd {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
@media (max-width: 720px) {
  .hero__quick { grid-template-columns: 1fr; }
  .hero__quick > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .hero__quick > div:last-child { border-bottom: 0; }
}

/* ============ SECTION ============ */
.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--warm { background: var(--paper-warm); }
.section--teal { background: var(--teal-50); }
.section--dark { background: var(--ink-900); color: white; }
.section--dark h2 { color: white; }
.section--dark .section__lead { color: rgba(255, 255, 255, 0.78); }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section__head--left {
  text-align: left;
  margin-left: 0;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 16px;
}
h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--ink-900);
}
h2 .hand { font-size: 1.1em; }
h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--ink-900);
}
.section__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-500);
  line-height: 1.7;
  margin: 0;
}

/* ============ VIDEO CARD ============ */
.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-900);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}
.video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ============ TRUST BAND (28년) ============ */
.trust {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .trust { grid-template-columns: 1fr; gap: 48px; }
}
.trust__year {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}
.trust__year .hand { font-size: 84px; color: var(--teal-600); line-height: 1; }
.trust__year span { font-size: 18px; color: var(--ink-500); font-weight: 600; }

.profile-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.profile-card__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--teal-600);
}
.profile-card__head strong {
  font-size: 13px;
  background: var(--teal-700);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.profile-card__head span {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink-900);
}
.profile-card ul {
  list-style: none;
  margin: 0; padding: 0;
}
.profile-card li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink-700);
  display: flex;
  gap: 10px;
}
.profile-card li::before {
  content: '·';
  color: var(--teal-600);
  font-weight: 800;
}

/* ============ FEATURE 5 (특별함) ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}
.feature__num {
  font-family: 'Gaegu', 'Single Day', cursive;
  font-size: 56px;
  line-height: 1;
  color: var(--teal-600);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.feature__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature__title em {
  display: block;
  font-size: 12px;
  color: var(--teal-600);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.feature p {
  color: var(--ink-500);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 16px;
}
.feature__list {
  list-style: none;
  margin: 0; padding: 0;
}
.feature__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.feature__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal-600);
  border-bottom: 2px solid var(--teal-600);
  transform: rotate(-45deg);
}

/* ============ GALLERY GRID ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--ink-100);
  display: block;
}
.gallery a::after {
  content: attr(data-label);
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(15, 74, 82, 0.85);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 250ms var(--ease), transform 250ms var(--ease);
}
.gallery a:hover::after { opacity: 1; transform: translateY(0); }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.gallery a:hover img { transform: scale(1.05); }

.g-wide { grid-column: span 8; grid-row: span 2; }
.g-tall { grid-column: span 4; grid-row: span 2; }
.g-md   { grid-column: span 4; grid-row: span 1; }
.g-lg   { grid-column: span 6; grid-row: span 2; }
.g-sm   { grid-column: span 4; grid-row: span 1; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-wide, .g-tall, .g-md, .g-lg, .g-sm { grid-column: span 1; grid-row: span 1; }
  .g-wide, .g-lg { grid-column: span 2; }
}

/* ============ TIMELINE (연혁) ============ */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-600), var(--teal-300));
}
.tl-item {
  position: relative;
  padding-bottom: 32px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -32px; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--teal-600);
}
.tl-year {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: var(--teal-700);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.tl-text {
  color: var(--ink-700);
  font-size: 16px;
  margin: 0;
}

/* ============ INFO ROW ============ */
.info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.info-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  padding: 24px;
}
.info-card__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-card__value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.info-card__sub {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: 6px;
}

/* ============ CALLOUT (CTA section) ============ */
.callout {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(151, 213, 222, 0.18), transparent 70%);
}
.callout h2 { color: white; position: relative; z-index: 1; }
.callout p {
  font-size: 18px;
  opacity: 0.85;
  max-width: 28em;
  margin: 0 auto 32px;
  position: relative; z-index: 1;
}
.callout .btn { position: relative; z-index: 1; }

/* ============ FORM ============ */
.form {
  display: grid;
  gap: 20px;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-md);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-800);
  margin-bottom: 6px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  color: var(--ink-900);
  background: white;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px rgba(46, 155, 171, 0.12);
}
.form textarea { min-height: 160px; resize: vertical; }
.form button[type="submit"] {
  background: var(--teal-700);
  color: white;
  border: 0;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.form button[type="submit"]:hover {
  background: var(--teal-600);
  transform: translateY(-1px);
}
.form .checkbox-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink-700);
}
.form .checkbox-row input { width: auto; }

/* ============ MAP ============ */
.map-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  background: var(--ink-100);
  min-height: 420px;
  height: 100%;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; min-height: 420px; display: block; }
.address-box {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.address-box h3 { color: var(--teal-700); }
.address-box dl { display: grid; grid-template-columns: 90px 1fr; gap: 12px 16px; margin: 24px 0 0; }
.address-box dt { font-size: 13px; color: var(--ink-500); font-weight: 700; padding-top: 4px; }
.address-box dd { margin: 0; color: var(--ink-800); font-size: 15px; line-height: 1.6; }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 32px;
  margin-top: 96px;
  font-size: 14px;
  line-height: 1.7;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
@media (max-width: 800px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin: 0 0 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255, 255, 255, 0.78); }
.footer ul a:hover { color: white; }
.footer__brand p { margin: 12px 0 0; max-width: 26em; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.78); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.20); }

/* ============ INNER HERO (하위 페이지 공통) ============ */
.page-hero {
  position: relative;
  padding: 96px 0 64px;
  background: linear-gradient(160deg, var(--teal-50) 0%, white 60%);
  border-bottom: 1px solid var(--ink-100);
}
.page-hero .eyebrow { color: var(--teal-700); }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink-900);
}
.page-hero p {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--ink-500);
  max-width: 36em;
  margin: 0;
}

/* ============ ARTICLE / TEXT BLOCKS ============ */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 { margin-top: 56px; }
.prose h3 { margin-top: 32px; }
.prose p { color: var(--ink-700); margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; color: var(--ink-700); }
.prose li { margin-bottom: 6px; }

/* ============ TWO-COL CONTENT ============ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.two-col img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.two-col--reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .two-col--reverse > :first-child { order: 0; }
}

/* ============ HOURS TABLE ============ */
.hours {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.hours th, .hours td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ink-100);
}
.hours th {
  background: var(--teal-50);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hours td:first-child { font-weight: 700; color: var(--ink-900); width: 30%; }
.hours tr:last-child td { border-bottom: 0; }
.hours .closed { color: var(--accent-coral); font-weight: 700; }

/* ============ FAQ ============ */
.faq details {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 200ms var(--ease);
}
.faq details[open] { border-color: var(--teal-600); }
.faq summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-900);
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--teal-600);
  font-size: 24px;
  font-weight: 300;
  transition: transform 200ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 24px 24px; color: var(--ink-700); line-height: 1.7; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
