/* ===== Reset & Variables ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --brown: #8B6914;
  --dark: #2c2417;
  --beige: #f7f3ed;
  --gold: #c9a84c;
}

*, *::before, *::after {
  box-sizing: border-box;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 0;
}

@font-face {
  font-family: 'pretendard';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: 'pretendard', sans-serif;
  color: #222;
  line-height: 1.6;
  -webkit-text-size-adjust: none;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; vertical-align: middle; }
button { cursor: pointer; font-family: inherit; }

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 64px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  transition: background 0.3s;
}

.header-inner {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header h1 a { display: block; }

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

/* Desktop Nav */
.gnb { display: none; }

.gnb ul {
  display: flex;
  gap: 0;
}

.gnb li a {
  display: block;
  padding: 10px 28px;
}

.gnb li a span {
  display: inline-block;
  position: relative;
  height: 40px; line-height: 40px;
  font-size: 17px; font-weight: 500;
  color: #333;
  transition: 0.3s;
}

.gnb li:hover a span {
  font-weight: 600;
  color: var(--brown);
}

.gnb li a span::after {
  content: '';
  display: block;
  width: 0; height: 2px;
  background: var(--brown);
  transition: 0.4s;
  position: absolute;
  bottom: 0; left: 50%;
}

.gnb li:hover a span::after {
  width: 100%; left: 0;
}

/* Hamburger */
.mobile-menu-btn {
  position: relative;
  width: 44px; height: 44px;
  background: none;
  z-index: 100;
}

.mobile-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: #333;
  position: absolute;
  left: 50%; transform: translateX(-50%);
  transition: 0.3s;
}

.mobile-menu-btn span:nth-child(1) { top: 14px; }
.mobile-menu-btn span:nth-child(2) { top: 21px; }
.mobile-menu-btn span:nth-child(3) { top: 28px; }

.mobile-menu-btn.active span:nth-child(1) {
  top: 21px; transform: translateX(-50%) rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) {
  top: 21px; transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  width: 100%;
  background: #fff;
  border-top: 3px solid var(--brown);
  position: absolute;
  top: 64px; left: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active { display: block; }

.mobile-nav li a {
  display: block;
  font-size: 15px;
  line-height: 52px;
  padding: 0 24px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

/* Desktop */
@media (min-width: 1025px) {
  #header { height: auto; }

  .header-inner {
    justify-content: center;
    padding: 30px 24px;
    gap: 100px;
  }

  .logo { font-size: 28px; }

  .gnb {
    display: block;
  }

  .gnb ul { justify-content: center; }

  .mobile-menu-btn { display: none; }

  .content { margin-top: 0; }
}

@media (max-width: 1024px) {
  .content { margin-top: 64px; }
}

/* ===== Hero Visual ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 960px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.slide-1 .hero-bg {
  background: linear-gradient(135deg, #2c2417 0%, #5a4225 40%, #8B6914 100%);
}

.slide-2 .hero-bg {
  background: linear-gradient(135deg, #3b2f1a 0%, #6b5230 40%, #9a7b42 100%);
}

.slide-3 .hero-bg {
  background: linear-gradient(135deg, #3b3025 0%, #6b5740 40%, #8a7352 100%);
}

/* Ken Burns 효과 */
.hero-slide .hero-bg {
  transform: scale(1);
  transition: transform 6s ease-out;
}

.hero-slide.slick-active .hero-bg {
  transform: scale(1.08);
}

.hero-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.hero-text * {
  color: #fff;
}

.hero-text em {
  display: block;
  padding-bottom: 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
  font-style: normal;
}

.hero-text h2 {
  font-family: 'pretendard', sans-serif;
  font-size: 48px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.03em;
  word-break: keep-all;
}

.hero-text h2 b {
  font-weight: 700;
  color: #fff;
}

.hero-text p {
  padding-top: 28px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.85;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

.mo-only { display: none; }

/* Slide-in 텍스트 애니메이션 */
.hero-text em,
.hero-text h2,
.hero-text p {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-slide.slick-active .hero-text em {
  opacity: 0.7;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-slide.slick-active .hero-text h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.hero-slide.slick-active .hero-text p {
  opacity: 0.85;
  transform: translateY(0);
  transition-delay: 0.9s;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: 60px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 10;
}

.hero-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.hero-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-controls button i {
  font-size: 14px;
  color: #fff;
}

.hero-pager {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-pager span {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: #fff;
}

.hero-pager span.total {
  color: rgba(255, 255, 255, 0.4);
}

.hero-pager .pager-dot {
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  font-size: 0;
}

/* Mobile */
@media (max-width: 1024px) {
  .hero-slide {
    height: auto;
    min-height: 500px;
    max-height: 700px;
    aspect-ratio: 9 / 14;
  }

  .mo-only { display: block !important; }

  .hero-text em {
    font-size: 11px;
    padding-bottom: 20px;
  }

  .hero-text h2 {
    font-size: 30px;
  }

  .hero-text p {
    font-size: 14px;
    padding-top: 20px;
  }

  .hero-controls {
    bottom: 36px;
    gap: 16px;
  }

  .hero-controls button {
    width: 36px; height: 36px;
  }

  .hero-controls button i { font-size: 12px; }

  .hero-pager span { font-size: 14px; }
}

@media (max-width: 375px) {
  .hero-text h2 { font-size: 26px; }
  .hero-text p { font-size: 13px; }
}

/* ===== 한의원 소개 ===== */
.intro-bg {
  background: var(--beige);
}

.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
}

.intro-pic {
  flex-shrink: 0;
  width: 45%;
  max-width: 600px;
  height: 580px;
  border-radius: 20px;
  overflow: hidden;
}

.intro-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-text {
  width: 50%;
  padding: 80px 80px 80px 70px;
}

.intro-text em {
  display: block;
  padding-bottom: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
}

.intro-text h3 {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: #222;
  word-break: keep-all;
}

.intro-text h3 b {
  font-weight: 700;
  color: var(--dark);
}

.intro-text p {
  padding-top: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  letter-spacing: -0.02em;
  word-break: keep-all;
}

.intro-text p b {
  font-weight: 600;
  color: #222;
}

.intro-text p b.accent {
  color: var(--brown);
}

.intro-name {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 40px;
  margin-top: 10px;
}

.intro-name span {
  font-size: 16px;
  color: #888;
}

.intro-name b {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
  .intro { display: block; }

  .intro-pic {
    width: 100%;
    max-width: unset;
    height: auto;
  }

  .intro-pic img {
    min-height: 280px;
  }

  .intro-text {
    width: 100%;
    padding: 50px 24px 60px;
  }

  .intro-text em {
    font-size: 12px;
    padding-bottom: 16px;
  }

  .intro-text h3 {
    font-size: 24px;
  }

  .intro-text p {
    font-size: 15px;
    padding-top: 16px;
  }

  .intro-name {
    padding-top: 30px;
  }

  .intro-name b {
    font-size: 20px;
  }
}

/* ===== 의료진 소개 ===== */
.doctor {
  padding: 120px 0;
}

.doctor-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.doctor-header {
  text-align: center;
  padding-bottom: 60px;
}

.doctor-header em {
  display: block;
  padding-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
}

.doctor-header h3 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #222;
}

.doctor-header h3 b {
  font-weight: 700;
  color: var(--dark);
}

.doctor-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.doctor-pic {
  flex-shrink: 0;
  width: 420px;
  border-radius: 30px;
  overflow: hidden;
}

.doctor-pic img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 30px;
}

.doctor-info {
  max-width: 600px;
}

.doctor-badge {
  display: inline-block;
  padding: 10px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--brown);
  border-radius: 60px;
}

.doctor-name-area {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding-top: 28px;
}

.doctor-name-area dt {
  font-size: 18px;
  color: #666;
}

.doctor-name-area dd {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--dark);
}

.doctor-history {
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid #ddd;
}

.doctor-history h6 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  padding-bottom: 24px;
}

.history-cols {
  display: flex;
  gap: 40px;
}

.history-cols ul li {
  position: relative;
  padding-left: 14px;
  padding-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
}

.history-cols ul li::before {
  content: '';
  position: absolute;
  top: 10px; left: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #888;
}

@media (max-width: 1024px) {
  .doctor { padding: 70px 0; }

  .doctor-inner { padding: 0 24px; }

  .doctor-header { padding-bottom: 36px; }

  .doctor-header em { font-size: 12px; padding-bottom: 14px; }

  .doctor-header h3 { font-size: 26px; }

  .doctor-content {
    display: block;
    text-align: center;
  }

  .doctor-pic {
    max-width: 260px;
    margin: 0 auto;
    border-radius: 20px;
  }

  .doctor-pic img {
    min-height: 340px;
    border-radius: 20px;
  }

  .doctor-info {
    padding-top: 32px;
    max-width: unset;
    text-align: left;
  }

  .doctor-badge {
    font-size: 14px;
    padding: 8px 22px;
  }

  .doctor-name-area dt { font-size: 16px; }
  .doctor-name-area dd { font-size: 26px; }

  .history-cols {
    display: block;
  }

  .history-cols ul + ul {
    padding-top: 8px;
  }

  .history-cols ul li {
    font-size: 14px;
  }
}

/* ===== 한의원 둘러보기 ===== */
.gallery-bg {
  background: var(--beige);
}

.gallery {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
}

.gallery-header {
  text-align: center;
  padding-bottom: 60px;
}

.gallery-header em {
  display: block;
  padding-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
}

.gallery-header h3 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #222;
}

.gallery-header h3 b {
  font-weight: 700;
  color: var(--dark);
}

.gallery-header p {
  padding-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  word-break: keep-all;
}

.gallery-slider {
  border-radius: 20px;
  overflow: hidden;
}

.gallery-slide {
  outline: none;
}

.gallery-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 32px;
}

.gallery-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.gallery-controls button:hover {
  background: var(--brown);
}

.gallery-controls button i {
  font-size: 14px;
  color: #fff;
}

.gallery-pager {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-pager span {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--dark);
}

.gallery-pager span.gallery-total {
  color: #aaa;
}

.gallery-pager .pager-dot {
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #aaa;
  font-size: 0;
}

@media (max-width: 1024px) {
  .gallery { padding: 70px 24px; }
  .gallery-header { padding-bottom: 36px; }
  .gallery-header em { font-size: 12px; padding-bottom: 14px; }
  .gallery-header h3 { font-size: 26px; }
  .gallery-header p { font-size: 14px; padding-top: 14px; }

  .gallery-slider { border-radius: 12px; }
  .gallery-slide img { height: 280px; }

  .gallery-controls { gap: 16px; padding-top: 24px; }
  .gallery-controls button { width: 36px; height: 36px; }
  .gallery-controls button i { font-size: 12px; }
  .gallery-pager span { font-size: 14px; }
}

/* ===== 진료과목 ===== */
.treatment-bg {
  background: #f9f6f1;
}

.treatment {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
}

.treatment-header {
  text-align: center;
  padding-bottom: 70px;
}

.treatment-header em {
  display: block;
  padding-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
}

.treatment-header h3 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #222;
}

.treatment-header h3 b {
  font-weight: 700;
  color: var(--dark);
}

.treatment-header p {
  padding-top: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  word-break: keep-all;
}

/* 주요 진료과목 슬라이더 */
.treatment-featured-wrap {
  margin-bottom: 50px;
}

.treatment-featured-slider {
  border-radius: 24px;
  overflow: hidden;
}

.treatment-featured {
  display: flex !important;
  align-items: stretch;
  background: var(--dark);
  outline: none;
}

.featured-pic {
  flex-shrink: 0;
  width: 45%;
}

.featured-pic img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.featured-text {
  padding: 60px 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--dark);
  background: var(--gold);
  border-radius: 30px;
}

.featured-text h4 {
  padding-top: 20px;
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
}

.featured-text h4 b {
  font-weight: 700;
}

.featured-desc {
  padding-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  word-break: keep-all;
}

.featured-desc b {
  color: #fff;
  font-weight: 600;
}

.featured-targets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding-top: 28px;
}

.featured-targets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.featured-targets li i {
  font-size: 12px;
  color: var(--gold);
}

.featured-points {
  display: flex;
  gap: 24px;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.point-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.point-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.point-item span {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* 주요 진료과목 컨트롤 */
.featured-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 32px;
}

.featured-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.featured-controls button:hover {
  background: var(--brown);
}

.featured-controls button i {
  font-size: 14px;
  color: #fff;
}

.featured-pager {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-pager span {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--dark);
}

.featured-pager span.featured-total {
  color: #aaa;
}

.featured-pager .pager-dot {
  display: block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #aaa;
  font-size: 0;
}

/* 기타 진료과목 그리드 */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.treat-card {
  padding: 44px 32px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #ece6db;
  transition: box-shadow 0.3s, transform 0.3s;
}

.treat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.treat-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
}

.treat-icon i {
  font-size: 22px;
  color: var(--brown);
}

.treat-card h5 {
  padding-top: 22px;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.treat-card p {
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #777;
  word-break: keep-all;
}

@media (max-width: 1024px) {
  .treatment { padding: 70px 24px; }

  .treatment-header { padding-bottom: 40px; }
  .treatment-header em { font-size: 12px; padding-bottom: 14px; }
  .treatment-header h3 { font-size: 26px; }
  .treatment-header p { font-size: 14px; padding-top: 14px; }

  .treatment-featured-wrap { margin-bottom: 30px; }
  .treatment-featured-slider { border-radius: 16px; }

  .treatment-featured {
    display: block !important;
  }

  .featured-controls { gap: 16px; padding-top: 24px; }
  .featured-controls button { width: 36px; height: 36px; }
  .featured-controls button i { font-size: 12px; }
  .featured-pager span { font-size: 14px; }

  .featured-pic { width: 100%; }
  .featured-pic img { min-height: 240px; }

  .featured-text { padding: 36px 24px; }
  .featured-text h4 { font-size: 24px; }
  .featured-desc { font-size: 14px; }

  .featured-targets {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .featured-targets li { font-size: 14px; }

  .featured-points {
    flex-wrap: wrap;
    gap: 16px;
  }

  .point-num { width: 40px; height: 40px; font-size: 13px; }
  .point-item span { font-size: 14px; }

  .treatment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .treat-card {
    padding: 28px 20px;
  }

  .treat-icon { width: 44px; height: 44px; border-radius: 10px; }
  .treat-icon i { font-size: 18px; }
  .treat-card h5 { font-size: 17px; padding-top: 16px; }
  .treat-card p { font-size: 13px; }
}

@media (max-width: 480px) {
  .treatment-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== 진료안내 ===== */
.guide {
  padding: 120px 0;
  background: #fff;
}

.guide-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.guide-header {
  text-align: center;
  padding-bottom: 60px;
}

.guide-header em {
  display: block;
  padding-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
}

.guide-header h3 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #222;
}

.guide-header h3 b {
  font-weight: 700;
  color: var(--dark);
}

.guide-content {
  display: flex;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.guide-content > div {
  flex: 1;
  padding: 48px 40px;
  background: var(--beige);
  border-radius: 20px;
}

.guide-call {
  background: none !important;
  border-radius: 0 !important;
  padding: 48px 0 !important;
  display: block !important;
}

.guide-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 32px;
}

/* 전화상담 */
.guide-call {
  display: block;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.phone-number i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--brown);
  color: #fff;
  font-size: 18px;
}

/* 진료시간 */
.hours-table dl {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-bottom: 14px;
}

.hours-table dt {
  width: 90px;
  font-size: 20px;
  font-weight: 500;
  color: #555;
}

.hours-table dd {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #222;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hours-note {
  padding-top: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #999;
}

@media (max-width: 1024px) {
  .guide { padding: 70px 0; }
  .guide-inner { padding: 0 24px; }
  .guide-header { padding-bottom: 36px; }
  .guide-header em { font-size: 12px; padding-bottom: 14px; }
  .guide-header h3 { font-size: 26px; }

  .guide-content {
    display: block;
  }

  .guide-content > div {
    padding: 28px 20px;
  }

  .guide-content > div + div {
    margin-top: 16px;
  }

  .guide-content h4 {
    font-size: 18px;
    padding-bottom: 20px;
  }

  .phone-number {
    font-size: 26px;
    gap: 12px;
  }

  .phone-number i {
    width: 40px; height: 40px;
    font-size: 15px;
  }

  .hours-table dl { gap: 20px; }
  .hours-table dt { width: 66px; font-size: 15px; }
  .hours-table dd { font-size: 15px; }
  .hours-note { font-size: 13px; }
}

/* ===== 오시는 길 ===== */
.location-bg {
  background: #f2f0eb;
}

.location {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 40px;
}

.location-header {
  text-align: center;
  padding-bottom: 60px;
}

.location-header em {
  display: block;
  padding-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
}

.location-header h3 {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #222;
}

.location-header h3 b {
  font-weight: 700;
  color: var(--dark);
}

.location-content {
  display: flex;
  gap: 50px;
  align-items: stretch;
}

.location-map {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  overflow: hidden;
}

.map-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.map-wrap iframe {
  position: absolute;
  top: 0;
  left: -520px;
  width: calc(100% + 520px);
  height: 100%;
  min-height: 460px;
  border: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.map-wrap iframe.loaded {
  opacity: 1;
}

.location-info {
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.info-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-icon i {
  font-size: 18px;
  color: #fff;
}

.info-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: #999;
  padding-bottom: 4px;
}

.info-item p {
  font-size: 18px;
  font-weight: 500;
  color: #222;
  line-height: 1.5;
  word-break: keep-all;
}

/* ===== Footer ===== */
#footer {
  padding: 50px 0;
  background: var(--dark);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

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

.footer-info {
  padding-top: 24px;
}

.footer-info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.footer-info li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.copyright {
  display: block;
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px) {
  .location { padding: 70px 24px; }
  .location-header { padding-bottom: 36px; }
  .location-header em { font-size: 12px; padding-bottom: 14px; }
  .location-header h3 { font-size: 26px; }

  .location-content {
    display: block;
  }

  .location-map {
    border-radius: 12px;
  }

  .map-wrap {
    min-height: 280px;
  }

  .map-wrap iframe {
    left: -80px;
    width: calc(100% + 80px);
    min-height: 280px;
  }

  .location-info {
    width: 100%;
    padding-top: 32px;
    gap: 28px;
  }

  .info-icon { width: 40px; height: 40px; border-radius: 10px; }
  .info-icon i { font-size: 16px; }
  .info-item h5 { font-size: 13px; }
  .info-item p { font-size: 16px; }

  #footer { padding: 40px 0 30px; }
  .footer-inner { padding: 0 24px; }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-logo { font-size: 18px; }
  .footer-nav a { font-size: 13px; }

  .footer-info ul { display: block; }
  .footer-info li { font-size: 13px; }
  .footer-info li + li { margin-top: 3px; }
  .copyright { font-size: 11px; }
}

/* ===== Scroll Animation ===== */
.scroll-ani {
  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.scroll-ani.scroll-right {
  transform: translateX(-60px);
}

.scroll-ani.scroll-left {
  transform: translateX(60px);
}

.scroll-ani.scroll-up {
  transform: translateY(60px);
}

.scroll-ani.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== Slick Overrides ===== */
.slick-slide { outline: none; }
.slick-dots { display: none !important; }

/* ===== 플로팅 버튼 ===== */
/* PC: 우측 중앙 세로 배치 */
.floating-btns {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 90;
}

.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.float-btn i {
  font-size: 20px;
  margin-bottom: 4px;
}

.float-btn span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* 전화문의 */
.float-phone {
  background: var(--dark);
  color: #fff;
}

/* 카카오톡 */
.float-kakao {
  background: #FEE500;
  color: #3C1E1E;
}

/* 네이버예약 */
.float-naver {
  background: #03C75A;
  color: #fff;
}

/* 진료안내 */
.float-info {
  background: #fff;
  color: var(--dark);
  border: 1px solid #ddd;
}

/* 모바일: 하단 고정바 */
@media (max-width: 1024px) {
  .floating-btns {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none;
    flex-direction: row;
    gap: 0;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
  }

  .float-btn {
    flex: 1;
    width: auto;
    height: 60px;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .float-btn:hover {
    transform: none;
    box-shadow: none;
  }

  .float-btn i {
    font-size: 18px;
    margin-bottom: 3px;
  }

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

  /* 모바일 배경색 통일 */
  .float-phone { background: var(--dark); color: #fff; }
  .float-kakao { background: #FEE500; color: #3C1E1E; }
  .float-naver { background: #03C75A; color: #fff; }
  .float-info { background: var(--beige); color: var(--dark); border: none; }

  .float-btn + .float-btn {
    border-left: 1px solid rgba(0, 0, 0, 0.06);
  }

  /* 하단바 높이만큼 footer 여백 */
  #footer { padding-bottom: 90px; }
}
