/* =============================================
   경희늘푸른한의원 - 메인 스타일시트
   ============================================= */

:root {
  --primary: #2669be;
  --primary-dark: #1a4a8a;
  --primary-light: #3b82c4;
  --accent: #4aad8f;
  --text: #1a2535;
  --text-muted: #5a6a7e;
  --bg: #f8fafc;
  --bg-alt: #eef4fb;
  --white: #ffffff;
  --border: #dce6f0;
  --shadow: 0 4px 24px rgba(37, 99, 168, 0.10);
  --shadow-md: 0 8px 40px rgba(37, 99, 168, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Noto Sans KR', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--text); background: var(--white); line-height: 1.7; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===================== HEADER ===================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
  display: flex; align-items: center; justify-content: center;
  height: 216px; gap: 40px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 192px; width: auto; object-fit: contain; }

.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; white-space: nowrap; }
.nav-list a {
  display: block; padding: 8px 12px;
  font-size: 1.3rem; font-weight: 500; color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition); white-space: nowrap;
}
.nav-list a:hover { color: var(--primary); background: var(--bg-alt); }
.nav-list .nav-cta {
  background: var(--primary); color: var(--white) !important;
  border-radius: 100px; padding: 8px 20px;
}
.nav-list .nav-cta:hover { background: var(--primary-dark); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 600;
  transition: all var(--transition); cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,99,168,0.3); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: var(--white); }
.btn-full { width: 100%; }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden; padding-top: 216px;
  background-color: #163a6e;
}
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg-overlay {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background: linear-gradient(135deg, rgba(22,58,110,0.88) 0%, rgba(38,105,190,0.80) 50%, rgba(30,100,80,0.75) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 80px 24px 60px;
  max-width: 1180px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; }
.hero-label {
  display: inline-block; background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.3); padding: 6px 18px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.05em; margin-bottom: 24px;
  width: fit-content;
}
.hero-title {
  font-family: 'Noto Sans KR', sans-serif; font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--white); line-height: 1.25; margin-bottom: 32px; letter-spacing: -0.02em;
}
.hero-title .accent { color: #7de8c4; }
.hero-credential {
  display: inline-block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.07em;
  margin-bottom: 4px;
  padding: 5px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
/* PC에서는 카드 안에 있으므로 hero-left의 credential은 숨김 */
@media (min-width: 769px) {
  .hero-credential { display: none; }
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: 'Noto Sans KR', sans-serif; font-size: 1.5rem; font-weight: 900; color: var(--white); line-height: 1.1; }
.stat-num span { font-size: 1rem; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.72); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.3); }

/* Hero 인사말 카드 */
.hero-greeting-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hgc-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.hgc-logo { height: 56px; width: auto; object-fit: contain; }
.hgc-credential {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 4px 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.hgc-headline {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.55;
  letter-spacing: -0.01em;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border);
}
.hgc-body {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.85;
}
.hgc-body strong { color: var(--primary); }
.hgc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hgc-tags span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}
.hgc-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  transition: opacity var(--transition);
}
.hgc-more:hover { opacity: 0.7; }
.hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 0.1em; z-index: 1;
  animation: bounce 2s infinite;
}
.scroll-arrow { width: 20px; height: 20px; border-right: 2px solid rgba(255,255,255,0.5); border-bottom: 2px solid rgba(255,255,255,0.5); transform: rotate(45deg); }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===================== NOTICE BAR ===================== */
.notice-bar { background: var(--primary); color: var(--white); padding: 12px 0; font-size: 0.88rem; overflow: hidden; }
.notice-bar .container { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notice-icon { flex-shrink: 0; }

/* ===================== SECTIONS (COMMON) ===================== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.15em; color: var(--primary); margin-bottom: 12px; }
.section-title { font-family: 'Noto Sans KR', sans-serif; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; color: var(--text); margin-bottom: 16px; letter-spacing: -0.02em; }
.section-desc { font-size: 1rem; color: var(--text-muted); }
.section-header.light .section-label { color: rgba(255,255,255,0.7); }
.section-header.light .section-title { color: var(--white); }
.section-header.light .section-desc { color: rgba(255,255,255,0.75); }

/* ===================== GREETING ===================== */
.greeting { background: var(--white); }
.greeting-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: flex-start;
  padding: 20px 0;
}
.greeting-deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 236px;
}
.greeting-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}
.greeting-quote-mark {
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 0.8;
  opacity: 0.15;
  font-family: Georgia, serif;
  user-select: none;
}

.greeting-headline {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--bg-alt);
}
.greeting-intro {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 36px;
}
.greeting-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 36px;
}
.greeting-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.gp-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.greeting-point strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.greeting-point p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.greeting-closing {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}
.greeting-sign {
  text-align: right;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* ===================== ABOUT ===================== */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-wrap { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-content h3 { font-family: 'Noto Sans KR', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; color: var(--text); }
.about-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.9; }
.about-features { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 32px; }
.about-features li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--accent); color: white; border-radius: 50%; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

/* ===================== SERVICES ===================== */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  transition: all var(--transition); overflow: hidden;
}
.service-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-color: transparent; color: white; }
.service-card.featured::before { background: rgba(255,255,255,0.5); }
.service-badge { position: absolute; top: 20px; right: 20px; background: #ffd166; color: #7c5a00; font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 100px; }
.service-icon { font-size: 2.4rem; margin-bottom: 20px; }
.service-card h3 { font-family: 'Noto Sans KR', sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); margin-bottom: 20px; }
.service-card.featured p { color: rgba(255,255,255,0.85); }
.service-link { font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.service-card.featured .service-link { color: rgba(255,255,255,0.9); }
.service-link:hover { text-decoration: underline; }

/* ===================== WOMEN'S HEALTH ===================== */
.womens-health { background: linear-gradient(160deg, #f0f7f4 0%, var(--bg-alt) 100%); }
.womens-intro {
  text-align: center;
  max-width: 640px;
  margin: -32px auto 48px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.womens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.womens-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.womens-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.womens-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.womens-card:hover::before { transform: scaleX(1); }
.womens-card.featured {
  background: linear-gradient(135deg, var(--accent) 0%, #5bc4a8 100%);
  border-color: transparent;
}
.womens-card.featured::before { background: rgba(255,255,255,0.5); }
.womens-icon { font-size: 2rem; margin-bottom: 16px; }
.womens-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.womens-card.featured h3 { color: var(--white); }
.womens-card ul { flex: 1; }
.womens-card ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.womens-card ul li:last-child { border-bottom: none; }
.womens-card.featured ul li { color: rgba(255,255,255,0.88); border-bottom-color: rgba(255,255,255,0.25); }
.womens-title-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.womens-title-link:hover { color: var(--primary); }
.womens-card.featured .womens-title-link:hover { color: rgba(255,255,255,0.75); }
.title-arrow {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity var(--transition), transform var(--transition);
}
.womens-title-link:hover .title-arrow {
  opacity: 1;
  transform: translateY(-4px);
}
.womens-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  transition: opacity var(--transition);
}
.womens-card.featured .womens-link { color: var(--white); }
.womens-link:hover { opacity: 0.7; }

/* ===================== FACILITY ===================== */
.facility { background: var(--bg); }
.facility-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.facility-card { flex: 0 0 calc(33.33% - 14px); min-width: 200px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.facility-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.facility-img-wrap { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-alt); }
.facility-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.facility-card:hover .facility-img-wrap img { transform: scale(1.05); }
.facility-label { background: var(--white); padding: 14px 16px; font-size: 0.9rem; font-weight: 600; color: var(--text); border-top: 2px solid var(--primary); text-align: center; }

/* ===================== REVIEWS ===================== */
.reviews { background: var(--bg); }
.section-desc .naver-n-icon {
  display: inline-block; width: 22px; height: 22px;
  vertical-align: middle; margin-right: 6px; margin-bottom: 2px;
}

/* 마소너리 그리드 */
.reviews-masonry {
  columns: 4;
  column-gap: 14px;
  margin-bottom: 40px;
}
.review-img-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all var(--transition);
}
.review-img-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(37,99,168,0.18);
}
.review-img-card img {
  width: 100%;
  height: auto;
  display: block;
}
.reviews-more { text-align: center; }
.btn-naver-icon {
  width: 22px; height: 22px; object-fit: contain;
  margin-right: 8px; vertical-align: middle;
}

/* ===================== BLOG ===================== */
.blog { background: var(--bg); }
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px;
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all var(--transition); text-decoration: none; color: inherit;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--primary); background: var(--bg-alt); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 100px; width: fit-content;
}
.blog-body h3 { font-family: 'Noto Sans KR', sans-serif; font-size: 0.98rem; font-weight: 700; color: var(--text); line-height: 1.5; }
.blog-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; flex: 1; }
.blog-more { text-align: center; }

/* ===================== INFO ===================== */
.info { background: var(--bg); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; }
.info-card h3 { font-family: 'Noto Sans KR', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; color: var(--text); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table td { padding: 10px 0; border-bottom: 1px solid var(--border); }
.hours-table td:first-child { color: var(--text-muted); width: 55%; }
.hours-table td:last-child { font-weight: 600; color: var(--primary); }
.hours-table .closed td { color: #e05252; }
.hours-table .closed td:last-child { color: #e05252; }
.hours-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }
.procedure-list { display: flex; flex-direction: column; gap: 20px; }
.procedure-list li { display: flex; align-items: flex-start; gap: 14px; }
.step-num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 50%; font-size: 0.78rem; font-weight: 700; flex-shrink: 0; }
.procedure-list strong { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 2px; }
.procedure-list p { font-size: 0.85rem; color: var(--text-muted); }
.insurance-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.insurance-list li { display: flex; gap: 10px; font-size: 0.9rem; }
.check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.tel-box { background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: var(--radius-sm); padding: 18px 20px; text-align: center; color: white; }
.tel-box p { font-size: 0.85rem; opacity: 0.85; margin-bottom: 6px; }
.tel-num { font-family: 'Noto Sans KR', sans-serif; font-size: 1.4rem; font-weight: 700; color: white; letter-spacing: 0.02em; }

/* ===================== LOCATION ===================== */
.location { background: var(--white); }
.location-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; justify-content: center; margin: 0 auto; }
.map-img-wrap { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.directions-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.map-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.map-btns-below { justify-content: center; }
.map-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  transition: all var(--transition);
}
.map-btn-logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.kakao-logo { border-radius: 4px; }
.naver-btn { background: #03c75a; color: white; }
.kakao-btn { background: #fee500; color: #3c1e1e; }
.map-btn:hover { opacity: 0.85; transform: translateY(-2px); }

.location-info { display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.loc-item { display: flex; gap: 16px; align-items: flex-start; justify-content: center; }
.loc-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.loc-item strong { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.loc-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.loc-item a { color: var(--primary); font-weight: 600; }

.social-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; justify-content: center; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 600;
  transition: all var(--transition); border: 1.5px solid var(--border);
}
.social-btn img { width: 24px; height: 24px; object-fit: contain; border-radius: 4px; }
.social-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ===================== CONTACT ===================== */
.contact { background: linear-gradient(135deg, #1a3d6b 0%, #2669be 60%, #1e7a60 100%); padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.contact-form { background: white; border-radius: var(--radius); padding: 48px 40px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.required { color: #e05252; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 0.92rem; font-family: inherit; color: var(--text);
  background: var(--bg); transition: border-color var(--transition); outline: none; resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: white; }
.form-check { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 0.88rem; color: var(--text-muted); }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }

.contact-info-aside { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.contact-aside-item { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); padding: 18px; }
.aside-icon { font-size: 1.6rem; flex-shrink: 0; }
.aside-icon-img { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.aside-icon-img img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.aside-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.aside-value { font-size: 1rem; font-weight: 700; color: white; display: block; margin-bottom: 4px; }
.aside-note { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.contact-notice { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.7; text-align: center; }

/* ===================== FOOTER ===================== */
.footer { background: #0f1e30; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { max-width: 400px; }
.footer-logo-img { height: 64px; width: auto; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 0.88rem; margin-bottom: 6px; color: rgba(255,255,255,0.6); }
.footer-addr { font-size: 0.82rem !important; }
.footer-tel { font-size: 0.9rem !important; color: rgba(255,255,255,0.8) !important; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: rgba(255,255,255,0.1); transition: all var(--transition); }
.footer-social-btn img { width: 36px; height: 36px; object-fit: cover; }
.footer-social-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,0.2); }

.footer-links { display: flex; gap: 48px; }
.footer-col h4 { font-size: 0.88rem; font-weight: 700; color: white; margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom { padding: 20px 0; background: rgba(0,0,0,0.2); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===================== FLOATING BTNS ===================== */
.floating-btns { position: fixed; right: 24px; bottom: 32px; display: flex; flex-direction: column; gap: 12px; z-index: 999; }
.float-btn { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: all var(--transition); text-decoration: none; }
.tel-btn { background: var(--accent); }
.reserve-btn { background: var(--primary); }
.top-btn { background: rgba(30,40,60,0.8); color: white; font-size: 1rem; }
.float-btn:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .womens-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-grid .facility-card { flex: 0 0 calc(50% - 10px); }
  .reviews-masonry { columns: 3; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid .info-card:last-child { grid-column: span 2; }
  .location-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-aside { flex-direction: row; flex-wrap: wrap; }
  .contact-aside-item { flex: 1 1 calc(50% - 8px); }
}

@media (max-width: 768px) {
  .header-inner { height: 148px; }
  .logo-img { height: 128px; }
  .nav {
    display: none; position: absolute; top: 148px; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 16px; box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list .nav-cta { margin-top: 8px; }
  .hamburger { display: flex; }
  .hero-content { padding: 60px 24px; grid-template-columns: 1fr; }
  .hero-greeting-card { display: none; }
  .hero-actions { flex-direction: column; }
  .section { padding: 72px 0; }
  .greeting-wrap { grid-template-columns: 1fr; gap: 32px; }
  .greeting-deco { flex-direction: row; justify-content: center; position: static; }
  .greeting-logo { width: 120px; }
  .greeting-quote-mark { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .womens-grid { grid-template-columns: 1fr; }
  .facility-grid .facility-card { flex: 0 0 calc(50% - 10px); }
  .reviews-masonry { columns: 2; }
  .blog-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .info-card:last-child { grid-column: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-aside { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; text-align: center; }
  .floating-btns { right: 16px; bottom: 24px; }
}

@media (max-width: 480px) {
  .facility-grid .facility-card { flex: 0 0 100%; }
  .reviews-masonry { columns: 1; }
  .hero-title { font-size: 2rem; }
  .stat-num { font-size: 1.4rem; }
}

/* =============================================
   실시간 리뷰 게시판
   ============================================= */

.live-reviews { background: #f8fafc; }

.live-reviews-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.lrs-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.95rem;
}
.lrs-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: 20px;
  color: white;
}
.lrs-badge.naver  { background: #03c75a; }
.lrs-badge.google { background: #4285F4; }
.lrs-badge.kakao  { background: #e8b000; color: #3c1e1e; }
.lrs-count { font-weight: 700; color: var(--text); }
.lrs-stars { color: #f5a623; letter-spacing: -1px; }

.live-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.reviews-empty {
  grid-column: 1/-1;
  text-align: center;
  color: #999;
  padding: 40px 0;
}

.live-review-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.live-review-card:hover { box-shadow: var(--shadow-lg); }

.lrc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lrc-source {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  color: white;
  background: var(--source-color, #999);
}
.lrc-source.kakao { color: #3c1e1e; }
.lrc-stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: -1px;
}
.lrc-text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lrc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #aaa;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.lrc-author { font-weight: 600; color: var(--text); }

.live-reviews-more { text-align: center; }

@media (max-width: 768px) {
  .live-reviews-stats { gap: 12px; }
  .live-reviews-grid { grid-template-columns: 1fr; }
}

/* ─── 자주 묻는 질문(FAQ) ───────────────────────────────── */
.faq { background: var(--bg-alt); }
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item summary h3 {
  display: inline;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
}
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 26px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer {
  padding: 0 24px 22px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin: 0 24px;
  padding-left: 0;
  padding-right: 0;
}
.faq-answer p { color: var(--text-muted); margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--text); font-weight: 700; }
.faq-answer a { color: var(--primary); text-decoration: underline; }
.faq-link { font-weight: 500; text-decoration: none !important; }
.faq-link:hover { color: var(--primary-dark); }

@media (max-width: 768px) {
  .faq-item summary { padding: 17px 46px 17px 18px; }
  .faq-item summary h3 { font-size: 0.98rem; }
  .faq-answer { margin: 0 18px; padding-bottom: 18px; }
}

/* ─── 질환별 상세 페이지(서브페이지) ─────────────────────── */
.subpage-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 250px 0 64px;
}
.breadcrumb { font-size: 0.86rem; opacity: 0.85; margin-bottom: 20px; }
.breadcrumb a { text-decoration: underline; }
.breadcrumb span { margin: 0 4px; }
.subpage-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.86rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.subpage-title { font-size: 2.4rem; font-weight: 900; line-height: 1.35; margin-bottom: 20px; }
.subpage-lead { font-size: 1.06rem; line-height: 1.85; max-width: 760px; opacity: 0.95; }
.subpage-lead strong { font-weight: 700; border-bottom: 2px solid rgba(255,255,255,0.5); }
.subpage-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.subpage-hero .btn-outline-dark { border-color: rgba(255,255,255,0.6); color: var(--white); }
.subpage-hero .btn-outline-dark:hover { background: rgba(255,255,255,0.14); }

.content-narrow { max-width: 860px; }
.content-h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 52px 0 18px;
  padding-left: 16px;
  border-left: 5px solid var(--primary);
  line-height: 1.45;
}
.content-narrow > p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.9; }
.content-narrow > p strong { color: var(--text); }
.content-narrow a { color: var(--primary); text-decoration: underline; }

.callout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 26px 0;
}
.callout h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 14px; }
.callout p { color: var(--text-muted); line-height: 1.9; }
.callout p strong { color: var(--text); }
.callout-accent { background: #eef7f3; border-color: #c9e6da; border-left: 5px solid var(--accent); }

.check-list { display: flex; flex-direction: column; gap: 11px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
  line-height: 1.8;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}
.check-list li strong { color: var(--text); }

.treat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 26px 0;
}
.treat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow);
}
.treat-card h3 { font-size: 1.06rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.treat-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

.step-list { display: flex; flex-direction: column; gap: 18px; margin: 26px 0; }
.step-list li { display: flex; gap: 16px; align-items: flex-start; }
.step-badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.step-list strong { display: block; margin-bottom: 4px; }
.step-list p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }

.page-cta {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  margin: 56px 0 32px;
}
.page-cta h2 { font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; }
.page-cta > p { color: var(--text-muted); margin-bottom: 8px; }
.page-cta .subpage-cta { justify-content: center; }

.related-links {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 40px;
}
.related-links h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.related-links ul { display: flex; flex-direction: column; gap: 10px; }
.related-links a { color: var(--primary); text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .subpage-hero { padding: 172px 0 48px; }
  .subpage-title { font-size: 1.72rem; }
  .subpage-lead { font-size: 0.99rem; }
  .content-h2 { font-size: 1.32rem; margin: 40px 0 14px; }
  .callout { padding: 20px 20px; }
  .page-cta { padding: 32px 20px; }
  .subpage-cta .btn { width: 100%; text-align: center; }
}
