/* ═══════════════════════════════════════════════════════════
   스마일웰치과의원 - 메인 스타일시트
   색상 팔레트:
     primary: #1a5f7a / light #2d8cad / dark #0d3d52
     accent:  #57c5b6 / light #7dd8cb
     gold:    #c9a84c / light #e0c068
═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ── Smooth scroll offset for fixed header ── */
section[id], div[id="contact"] {
  scroll-margin-top: 80px;
}

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid #e8f0f5;
  box-shadow: 0 2px 12px rgba(26,95,122,0.08);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(26,95,122,0.13);
}
.header-inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* ── logo-wrapper: 로고 + 진료 상태 뱃지 묶음 ── */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* ── 진료 상태 뱃지 ── */
.clinic-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1.5;
  transition: background 0.4s;
  align-self: flex-end;
  margin-bottom: 2px;
}
@media (max-width: 400px) {
  .clinic-badge { font-size: 11px; padding: 2px 8px; }
}
.logo-icon {
  width: 38px; height: 38px;
  background: #1a5f7a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.logo-name {
  font-size: 17px;
  font-weight: 900;
  color: #1a5f7a;
  line-height: 1.2;
}
.logo-sub {
  font-size: 9px;
  color: #9ca3af;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

/* ══════════════════════════════════════════
   DESKTOP NAVIGATION
══════════════════════════════════════════ */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 768px) {
  .desktop-nav { display: flex; }
}

/* 기본 nav-link */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s, color 0.18s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}
.nav-link:hover,
.nav-link--has-dd:hover {
  background-color: #f0f9ff;
  color: #1a5f7a;
}
.nav-arrow {
  font-size: 10px;
  transition: transform 0.2s;
  display: inline-block;
}

/* 예약하기 버튼 */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding: 10px 20px;
  background: #1a5f7a;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s;
}
.nav-cta-btn:hover { background: #0d3d52; }

/* ── nav-item: 드롭다운 wrapper ─────────────────────── */
.nav-item {
  position: relative;
}

/* 드롭다운 패널 – 기본 숨김 (JS .nav-dropdown--open 클래스로 제어) */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 190px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8f4f8;
  box-shadow: 0 12px 40px rgba(26,95,122,0.16), 0 2px 8px rgba(0,0,0,0.06);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 9999;
}

/* JS가 추가하는 클래스로만 열림 */
.nav-dropdown--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 화살표 회전 */
.nav-item--open .nav-arrow {
  transform: rotate(180deg);
}

/* 링크 활성 색상 */
.nav-item--open .nav-link--has-dd {
  background-color: #f0f9ff;
  color: #1a5f7a;
}

/* 드롭다운 항목 */
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover {
  background: #f0f9ff;
  color: #1a5f7a;
}
.nav-dropdown a i {
  width: 18px;
  text-align: center;
  color: #1a5f7a;
  font-size: 12px;
  opacity: 0.7;
  flex-shrink: 0;
}
.dd-divider {
  height: 1px;
  background: #f0f4f8;
  margin: 4px 8px;
}

/* ══════════════════════════════════════════
   MOBILE NAV
══════════════════════════════════════════ */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}
.menu-bar {
  display: block;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
#menu-btn.open .menu-bar:nth-child(1) { transform: rotate(45deg) translateY(7px); }
#menu-btn.open .menu-bar:nth-child(2) { opacity: 0; }
#menu-btn.open .menu-bar:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

.mobile-nav {
  background: #fff;
  border-top: 1px solid #f0f4f8;
}
.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px 16px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.18s;
}
.mobile-nav-link:hover { background-color: #f0f9ff; color: #1a5f7a; }
.mobile-nav-link--primary { font-weight: 700; color: #1a5f7a; }

.mobile-nav-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 600;
  color: #1a5f7a;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}
.mobile-nav-category:hover { background: #f0f9ff; }
.mobile-nav-category span { display: flex; align-items: center; gap: 8px; }
.mobile-arrow { font-size: 11px; transition: transform 0.2s; }
.mobile-nav-category.open .mobile-arrow { transform: rotate(180deg); }

.mobile-submenu { display: none; padding: 2px 0 4px 14px; }
.mobile-submenu.open { display: block; }
.mobile-submenu a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  font-size: 14px; font-weight: 500;
  color: #374151;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.mobile-submenu a:hover { background: #f0f9ff; color: #1a5f7a; }
.mobile-submenu a i { width: 16px; text-align: center; color: #1a5f7a; font-size: 11px; opacity: 0.7; }

.mobile-nav-call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px;
  padding: 13px;
  background: #1a5f7a;
  color: #fff;
  font-size: 15px; font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s;
}
.mobile-nav-call:hover { background: #0d3d52; }

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.hero-stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #57c5b6;
  color: white;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 50px;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(87,197,182,0.4);
}
.cta-btn-primary:hover {
  background-color: #3db5a5;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(87,197,182,0.5);
}
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.15);
  color: white;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  transition: background-color 0.2s, transform 0.2s;
}
.cta-btn-secondary:hover {
  background-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-badge {
  display: inline-block;
  background-color: #e0f7f4;
  color: #1a5f7a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-title em {
  font-style: normal;
  color: #1a5f7a;
}
.section-desc {
  color: #6b7280;
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   TREATMENT CARDS
══════════════════════════════════════════ */
.treatment-card {
  background: white;
  border: none;
  border-radius: 20px;
  padding: 28px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.treatment-card:hover {
  box-shadow: 0 12px 40px rgba(26,95,122,0.12);
  transform: translateY(-4px);
  border-color: #57c5b6;
}
.treatment-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.25s, color 0.25s;
}
.tag-chip {
  display: inline-block;
  background-color: #f0f9ff;
  color: #1a5f7a;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid #e0f0f8;
}
/* 진료 카드: 모바일에서는 아이콘을 위로 올려 세로 배치 → 본문이 오른쪽으로 쏠리지 않게 함 */
@media (max-width: 640px) {
  .treatment-card-head {
    flex-direction: column;
    gap: 14px;
  }
}

/* ══════════════════════════════════════════
   CASES (Before/After) — 카테고리 박스 carousel
══════════════════════════════════════════ */

/* 카테고리 박스 외곽 */
.case-category-box {
  background: #fff;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26,95,122,0.07);
  display: flex;
  flex-direction: column;
}
.ccb-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 박스 헤더: 카테고리 태그 + 화살표 */
.ccb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #f3f4f6;
}
.ccb-tag {
  font-size: 13px;
  font-weight: 700;
  color: #1a5f7a;
  background: #e8f4f8;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}
.ccb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ccb-prev,
.ccb-next {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: #fff;
  color: #1a5f7a;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.ccb-prev:hover,
.ccb-next:hover {
  background: #1a5f7a;
  color: #fff;
  border-color: #1a5f7a;
}
.ccb-indicator {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  min-width: 36px;
  text-align: center;
}

/* 슬라이드 컨테이너 */
.ccb-slides {
  position: relative;
  overflow: hidden;
}
.ccb-slide {
  display: none;
  padding: 14px 16px 10px;
}
.ccb-slide.active {
  display: block;
}
.ccb-slide-title {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
  text-align: center;
}

/* 치료 전후 사진 영역 */
.ccb-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ccb-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.ccb-photo-inner {
  position: relative;
  width: 100%;
  padding-bottom: 90%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ccb-photo-inner--before {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}
.ccb-photo-inner--after {
  background: linear-gradient(135deg, #d4e9f0 0%, #b8dde8 100%);
}
.ccb-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ccb-photo-blur {
  filter: blur(8px);
  transform: scale(1.08);
}
.ccb-photo-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: #d1d5db;
}
.ccb-photo-icon--after {
  color: #93c5d4;
}
.ccb-photo-label {
  position: absolute;
  bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}
.ccb-photo-label--before {
  left: 7px;
  background: rgba(0,0,0,0.45);
  color: #fff;
}
.ccb-photo-label--after {
  right: 7px;
  background: rgba(26,95,122,0.75);
  color: #fff;
}

/* 잠금 오버레이 */
.ccb-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;                      /* 6px → 8px: 요소 간 간격 확대 */
  background: rgba(0,0,0,0.22);
}
/* 자물쇠 아이콘: 36px → 54px (1.5배) */
.ccb-lock-icon {
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: #1a5f7a;
  font-size: 22px;               /* 15px → 22px (1.5배) */
}
/* "로그인 후 공개" 텍스트: 10px → 15px, font-weight 700 유지 */
.ccb-lock-label {
  font-size: 15px;               /* 10px → 15px (+5px) */
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 4px 12px;             /* 2px 8px → 4px 12px */
  border-radius: 50px;
}
.ccb-login-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;                     /* 5px → 10px: 버튼 간격 확대 */
  width: 85%;
  max-width: 176px;              /* 160px → 176px */
}
/* 버튼: 높이+11px(padding 증가), 폰트 +3px */
.ccb-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;                      /* 5px → 6px */
  font-size: 14px;               /* 11px → 14px (+3px) */
  font-weight: 700;
  padding: 10px 10px;            /* 6px 8px → 10px 10px (+약 11px 높이) */
  border-radius: 10px;           /* 8px → 10px */
  text-decoration: none;
  line-height: 1.2;
  transition: opacity 0.15s;
}
.ccb-login-btn:hover { opacity: 0.85; }
.ccb-login-kakao {
  background: #FEE500;
  color: #391B1B;
}
.ccb-login-google {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
}
/* 버튼 내 아이콘: 14px → 17px */
.ccb-login-icon {
  width: 17px;
  height: 17px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 인디케이터 점 */
.ccb-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px 14px;
}
.ccb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.ccb-dot.active {
  background: #1a5f7a;
  transform: scale(1.25);
}

/* 반응형: 모바일 1열 */
@media (max-width: 767px) {
  #cases-grid {
    gap: 16px;
  }
  .ccb-login-btns {
    width: 90%;
  }
}

/* 구형 호환: case-preview-card (로그인 후 페이지 등) */
.case-preview-card {
  background: white;
  border-radius: 12px;
  padding: 8px;
  border: 1px solid #e5e7eb;
}

/* Case card (logged in) */
.case-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s, transform 0.2s;
}
.case-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}
.case-ba-container {
  position: relative;
  overflow: hidden;
}
.case-ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #f3f4f6;
}
.case-ba-label {
  position: absolute;
  top: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 50px;
}
.case-ba-label.before {
  left: 8px;
  background: rgba(0,0,0,0.5);
  color: white;
}
.case-ba-label.after {
  right: 8px;
  background: rgba(26,95,122,0.85);
  color: white;
}

/* ══════════════════════════════════════════
   DOCTORS SECTION
══════════════════════════════════════════ */
.doctor-card {
  background: white;
  border-radius: 20px;
  border: none;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.doctor-card:hover {
  box-shadow: 0 12px 40px rgba(26,95,122,0.12);
  transform: translateY(-4px);
}
.doctor-photo-wrap {
  position: relative;
}
.doctor-photo-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doctor-photo-img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  background: #eef2f4;
}
.doctor-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #1a5f7a;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}
.doctor-career {
  list-style: none;
  padding: 0;
  margin: 0;
  space-y: 4px;
}
.doctor-career li {
  font-size: 13px;
  color: #4b5563;
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
}
.doctor-career li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #57c5b6;
  font-weight: bold;
}
.doctor-tag {
  display: inline-block;
  background: #f0f9ff;
  color: #1a5f7a;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid #dbeafe;
}

/* ══════════════════════════════════════════
   REVIEWS SECTION (Auto-scroll)
══════════════════════════════════════════ */
.reviews-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.reviews-track {
  display: flex;
  gap: 16px;
  animation: scroll-reviews 35s linear infinite;
  width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes scroll-reviews {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Google 스타일 리뷰 카드 */
.review-card {
  background: #fff;
  border: none;
  border-radius: 16px;
  padding: 18px 20px;
  width: 300px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar-wrap {
  flex-shrink: 0;
  width: 40px; height: 40px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.review-avatar-fallback {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #1a5f7a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.review-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}
.review-date {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 1px;
}
.review-google-icon {
  width: 16px; height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.7;
}
.review-stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 1px;
}
.review-text {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 모든 후기 보기 버튼 ── */
.reviews-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #fff;
  border: 1.5px solid #dadce0;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #3c4043;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition:
    border-color 0.22s ease,
    box-shadow   0.22s ease,
    transform    0.22s ease,
    color        0.22s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
/* 물결 배경 */
.reviews-all-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e8f5ff 0%, #f0faf8 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 0;
}
.reviews-all-btn:hover::before { opacity: 1; }

.reviews-all-btn__icon,
.reviews-all-btn__text,
.reviews-all-btn__arrow {
  position: relative;
  z-index: 1;
}
.reviews-all-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: #f1f3f4;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}
.reviews-all-btn__logo {
  width: 15px; height: 15px;
}
.reviews-all-btn__arrow {
  font-size: 16px;
  color: #1a5f7a;
  opacity: 0.7;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* 호버 상태 */
.reviews-all-btn:hover {
  border-color: #1a5f7a;
  box-shadow: 0 6px 20px rgba(26,95,122,0.18);
  transform: translateY(-2px);
  color: #1a5f7a;
}
.reviews-all-btn:hover .reviews-all-btn__icon {
  background: #d6eef5;
  transform: rotate(-8deg) scale(1.1);
}
.reviews-all-btn:hover .reviews-all-btn__arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* 클릭(active) */
.reviews-all-btn:active {
  transform: translateY(0px);
  box-shadow: 0 2px 8px rgba(26,95,122,0.12);
}

/* ══════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════ */
.faq-item {
  background: white;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: #57c5b6; }
.faq-item.open { border-color: #1a5f7a; box-shadow: 0 4px 16px rgba(26,95,122,0.08); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  gap: 12px;
}
.faq-question:hover { background: #f9fafb; }
.faq-icon.rotated { transform: rotate(180deg); }
.faq-answer {
  padding: 0 20px 18px;
  border-top: 1px solid #f3f4f6;
}
.faq-answer.show { display: block !important; }

/* ══════════════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════════════ */
.floating-btns {
  position: fixed;
  right: 20px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.float-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 78px;
  height: 78px;
  border-radius: 21px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 8px 24px rgba(0,0,0,0.24);
}
.float-label {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
@media (max-width: 640px) {
  .floating-btns { right: 14px; bottom: 20px; gap: 10px; }
  .float-btn { width: 70px; height: 70px; border-radius: 18px; }
}

/* ══════════════════════════════════════════
   ADMIN STYLES
══════════════════════════════════════════ */
.admin-tab {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  background: white;
  border: 2px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.2s;
}
.admin-tab:hover { border-color: #1a5f7a; color: #1a5f7a; }
.admin-tab.active { background: #1a5f7a; border-color: #1a5f7a; color: white; }
.admin-panel { display: block; }
.admin-panel.hidden { display: none; }
.admin-input {
  width: 100%;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Noto Sans KR', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
.admin-input:focus { border-color: #1a5f7a; }

/* Admin case card */
.admin-case-card {
  background: white;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.admin-case-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* Admin doctor card */
.admin-doctor-card {
  background: white;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 20px;
  transition: box-shadow 0.2s;
}
.admin-doctor-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* ══════════════════════════════════════════
   TOAST NOTIFICATION
══════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: #1a5f7a;
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #dc2626; }
.toast.success { background: #059669; }

/* ══════════════════════════════════════════
   UTILITY
══════════════════════════════════════════ */
.hidden { display: none !important; }

/* Loading skeleton */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.skeleton {
  background: #e5e7eb;
  border-radius: 8px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .section-title { font-size: 1.5rem; }
  .cta-btn-primary, .cta-btn-secondary { padding: 14px 24px; font-size: 15px; }
  .float-label { display: none; }
  .float-btn { width: 52px; height: 52px; }
}

/* line-clamp 유틸 (Tailwind CDN 폴백) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   HERO 서비스 목록 (모바일 줄바꿈 제어)
══════════════════════════════════════════ */
/* 각 서비스 항목이 애매한 위치에서 잘리지 않도록 통째로 유지,
   구분자(·) 단위로만 자연스럽게 줄바꿈 */
.hero-service-item {
  display: inline-block;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   OUR PROMISE SECTION
══════════════════════════════════════════ */
.promise-txt-col {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
}
/* 브레이크 태그: PC에서만 줄바꿈 */
.promise-br { display: inline; }

@media (max-width: 768px) {
  .promise-txt-col {
    width: 100%;
    padding: 40px 24px 48px;
  }
  .promise-br { display: none; }
}

/* ══════════════════════════════════════════
   헤더 로그인/사용자 버튼 (전 페이지 공통)
   ══════════════════════════════════════════ */
.auth-header-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auth-login-btn {
  background: transparent;
  border: 1.5px solid var(--primary, #1a5f7a);
  color: var(--primary, #1a5f7a);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.auth-login-btn:hover { background: var(--primary, #1a5f7a); color: #fff; }
.auth-user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary, #1a5f7a);
  white-space: nowrap;
}
.auth-logout-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}
.auth-logout-btn:hover { color: #ef4444; text-decoration: underline; }
.auth-header-wrap-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 4px;
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM DESIGN UPGRADE LAYER (2026-07-03)
   기존 규칙을 덮어써 메인 페이지를 고급스럽게 개선.
   색상 시스템·구조·기능은 그대로 유지.
═══════════════════════════════════════════════════════════ */

/* ── 디자인 토큰 ── */
:root {
  --sw-primary: #1a5f7a;
  --sw-primary-dark: #0d3d52;
  --sw-accent: #57c5b6;
  --sw-accent-light: #7dd8cb;
  --sw-gold: #c9a84c;
  --sw-ink: #0f2a38;
  --sw-body: #4b5563;
  /* 층위감 있는 다단계 그림자 */
  --sw-shadow-sm: 0 1px 2px rgba(15,42,56,0.04), 0 2px 8px rgba(15,42,56,0.05);
  --sw-shadow-md: 0 4px 12px rgba(15,42,56,0.06), 0 12px 32px rgba(15,42,56,0.08);
  --sw-shadow-lg: 0 8px 24px rgba(15,42,56,0.08), 0 24px 56px rgba(15,42,56,0.12);
  --sw-shadow-primary: 0 10px 30px rgba(26,95,122,0.18);
  --sw-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── 타이포그래피 정교화 ── */
body {
  color: var(--sw-body);
  letter-spacing: -0.01em;
}
h1, h2, h3, .section-title { letter-spacing: -0.02em; }

/* ── 섹션 공통 리듬 (넉넉한 여백) ── */
#philosophy, #treatments, #our-promise, #cases-preview,
#doctors, #reviews, #faq, #contact {
  padding-top: 88px;
  padding-bottom: 88px;
}
@media (max-width: 640px) {
  #philosophy, #treatments, #our-promise, #cases-preview,
  #doctors, #reviews, #faq, #contact {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ── 섹션 헤더 / 배지 고급화 ── */
.section-header { margin-bottom: 56px; }
.section-badge {
  position: relative;
  background: linear-gradient(135deg, #e8f8f5 0%, #eaf4f8 100%);
  color: var(--sw-primary);
  letter-spacing: 0.22em;
  font-weight: 800;
  padding: 7px 18px 7px 30px;
  box-shadow: inset 0 0 0 1px rgba(87,197,182,0.25);
}
.section-badge::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sw-accent);
  box-shadow: 0 0 0 3px rgba(87,197,182,0.2);
}
.section-title {
  color: var(--sw-ink);
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  line-height: 1.28;
}
.section-title em {
  background: linear-gradient(120deg, var(--sw-primary) 0%, var(--sw-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc { font-size: 15.5px; color: #6b7280; }

/* ── 진료과목 카드 프리미엄 ── */
.treatment-card {
  border-radius: 24px;
  border-color: #eef1f4;
  box-shadow: var(--sw-shadow-sm);
  transition: box-shadow 0.4s var(--sw-ease), transform 0.4s var(--sw-ease), border-color 0.4s var(--sw-ease);
  position: relative;
  overflow: hidden;
}
.treatment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(87,197,182,0.05), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s var(--sw-ease);
  pointer-events: none;
}
.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sw-shadow-lg);
  border-color: rgba(87,197,182,0.5);
}
.treatment-card:hover::after { opacity: 1; }
.treatment-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: var(--sw-shadow-sm);
  transition: transform 0.4s var(--sw-ease), background-color 0.3s, color 0.3s;
}
.treatment-card:hover .treatment-icon-wrap {
  transform: scale(1.06) rotate(-3deg);
}
.tag-chip {
  background: #f4fafd;
  border-color: #e3eff5;
  padding: 5px 12px;
  transition: background-color 0.25s, color 0.25s, transform 0.25s;
}
.treatment-card:hover .tag-chip {
  background: #eaf6fb;
}

/* ── 히어로 통계 카드 고급화 ── */
.hero-stat-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 18px 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  transition: transform 0.4s var(--sw-ease), background 0.3s, border-color 0.3s;
}
.hero-stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
}
.hero-stat-card i { transition: transform 0.4s var(--sw-ease); }
.hero-stat-card:hover i { transform: scale(1.15); }

/* ── CTA 버튼 광택 효과 ── */
.cta-btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(87,197,182,0.35);
}
.cta-btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--sw-ease);
}
.cta-btn-primary:hover::before { left: 130%; }

/* ── 스크롤 리빌 애니메이션 ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--sw-ease), transform 0.7s var(--sw-ease);
    will-change: opacity, transform;
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
  .reveal-delay-1 { transition-delay: 0.08s; }
  .reveal-delay-2 { transition-delay: 0.16s; }
  .reveal-delay-3 { transition-delay: 0.24s; }
}

/* ── 이미지 부드러운 로딩 ── */
.premium-img {
  transition: transform 0.5s var(--sw-ease), box-shadow 0.5s var(--sw-ease);
}
.premium-img:hover { transform: scale(1.02); }

/* ═══════════════════════════════════════════════════════════
   PHILOSOPHY 섹션 프리미엄
═══════════════════════════════════════════════════════════ */
.philosophy-quote {
  position: relative;
  margin: 0 0 56px;
  padding: 44px 40px;
  border-radius: 28px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(26,95,122,0.06), transparent 50%),
    linear-gradient(135deg, rgba(26,95,122,0.045) 0%, rgba(87,197,182,0.09) 100%);
  border: 1px solid rgba(26,95,122,0.10);
  box-shadow: var(--sw-shadow-md);
  overflow: hidden;
}
.philosophy-quote::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,197,182,0.14), transparent 70%);
  pointer-events: none;
}
.philosophy-quote-mark {
  position: absolute;
  top: 26px;
  left: 30px;
  font-size: 3.25rem;
  color: rgba(26,95,122,0.13);
  z-index: 0;
}
@media (max-width: 640px) {
  .philosophy-quote { padding: 36px 22px; }
  .philosophy-quote-mark { font-size: 2.5rem; top: 18px; left: 18px; }
}

/* 3대 가치 카드 */
.value-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px 26px;
  text-align: center;
  border: none;
  box-shadow: var(--sw-shadow-sm);
  transition: transform 0.4s var(--sw-ease), box-shadow 0.4s var(--sw-ease), border-color 0.4s var(--sw-ease);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sw-shadow-lg);
  border-color: rgba(87,197,182,0.45);
}
.value-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: var(--sw-shadow-sm);
  transition: transform 0.4s var(--sw-ease);
}
.value-card:hover .value-icon { transform: scale(1.08) rotate(-3deg); }

/* ═══════════════════════════════════════════════════════════
   의료진 카드 프리미엄
═══════════════════════════════════════════════════════════ */
.doctor-card {
  border-radius: 22px;
  box-shadow: var(--sw-shadow-sm);
  transition: transform 0.4s var(--sw-ease), box-shadow 0.4s var(--sw-ease);
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sw-shadow-lg);
}
.doctor-photo-img { transition: transform 0.6s var(--sw-ease); }
.doctor-card:hover .doctor-photo-img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════════════
   CONTACT(어두운 배경) 섹션 배지·타이틀 보정
═══════════════════════════════════════════════════════════ */
#contact .section-title,
.section-title.text-white {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}
.section-badge-on-dark {
  background: rgba(255,255,255,0.14) !important;
  color: #eafffb !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25) !important;
}
.section-badge-on-dark::before {
  background: var(--sw-accent-light) !important;
  box-shadow: 0 0 0 3px rgba(125,216,203,0.25) !important;
}

/* ═══════════════════════════════════════════════════════════
   FAQ 아이템 프리미엄
═══════════════════════════════════════════════════════════ */
.faq-item {
  border-radius: 16px;
  box-shadow: var(--sw-shadow-sm);
  transition: box-shadow 0.35s var(--sw-ease), transform 0.35s var(--sw-ease);
}
.faq-item:hover {
  box-shadow: var(--sw-shadow-md);
}

/* ═══════════════════════════════════════════════════════════
   CI 컬러 기반 디자인 레이어 (2026-07-04)
   병원 공식 CI 색상을 기본 팔레트로 사용한 밝고 전문적인 톤.
   Teal(청록) #00A395 = primary, Orange(주황) #F05A22 = accent,
   Dark Grey #5B5B5D = text. 배경은 화이트/라이트 그레이 유지.
═══════════════════════════════════════════════════════════ */
:root {
  --ci-teal:        #00A395;   /* 웰 / 왼쪽 기둥 */
  --ci-teal-dark:   #00897B;
  --ci-teal-light:  #4dc4b9;
  --ci-teal-soft:   #e6f7f5;   /* 아주 옅은 배경용 */
  --ci-orange:      #F05A22;   /* 스마일 / 오른쪽 기둥 */
  --ci-orange-dark: #d4491a;
  --ci-orange-light:#f78a63;
  --ci-orange-soft: #fdeee8;
  --ci-grey:        #5B5B5D;   /* 치과 / 영문 */
  --ci-grey-light:  #8a8a8c;
  --ci-bg:          #ffffff;
  --ci-bg-alt:      #f6f9f9;   /* teal 기가 살짝 도는 라이트 그레이 */
  --ci-border:      #e5eceb;
}

/* ── 네비게이션 로고: 심볼(이미지) + 병원명(텍스트) ── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-logo-symbol {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}
.header-logo-text .logo-name {
  font-size: 19px;
  font-weight: 900;
  color: var(--ci-grey, #5B5B5D);
  letter-spacing: -0.01em;
}
.header-logo-text .logo-name .accent-teal { color: var(--ci-teal, #00A395); }
.header-logo-text .logo-name .accent-orange { color: var(--ci-orange, #F05A22); }
.header-logo-text .logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--ci-grey-light, #8a8a8c);
  letter-spacing: 0.16em;
}
@media (max-width: 480px) {
  .header-logo-symbol { height: 32px; }
  .header-logo-text .logo-name { font-size: 16px; }
  .header-logo-text .logo-sub { font-size: 8px; letter-spacing: 0.1em; }
}
/* 아주 좁은 화면에서는 영문 서브텍스트 숨김 */
@media (max-width: 360px) {
  .header-logo-text .logo-sub { display: none; }
}

/* ── 헤더 / 네비게이션 (밝은 톤 복원 + CI 액센트) ──── */
.site-header {
  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(--ci-border);
}
.nav-link:hover,
.nav-link--has-dd:hover {
  background-color: var(--ci-teal-soft);
  color: var(--ci-teal-dark);
}

/* ── 섹션 배경: 화이트 / 라이트 교차 ──────────────── */
body {
  background: var(--ci-bg);
  color: var(--ci-grey);
}
#philosophy,
#cases-preview,
#reviews {
  background: var(--ci-bg) !important;
}
#treatments,
#doctors,
#faq,
#our-promise,
#cases-all {
  background: var(--ci-bg-alt) !important;
}

/* ── 섹션 배지 / 타이틀 / 설명 (CI 컬러) ──────────── */
.section-badge {
  background: var(--ci-teal-soft) !important;
  color: var(--ci-teal-dark) !important;
  border: 1px solid rgba(0,163,149,0.18) !important;
}
.section-title { color: #1f2937 !important; }
.section-desc  { color: #6b7280 !important; }

/* ── 트리트먼트 카드 (teal 프라이머리 + orange 포인트) ─ */
.treatment-card {
  background: #fff;
  border: none;
}
.treatment-card:hover {
  border-color: var(--ci-teal-light);
}
.treatment-icon {
  background: linear-gradient(135deg, var(--ci-teal) 0%, var(--ci-teal-dark) 100%) !important;
  color: #fff !important;
}
.treatment-card:hover .treatment-icon {
  background: linear-gradient(135deg, var(--ci-orange) 0%, var(--ci-orange-dark) 100%) !important;
}

/* ── 히어로 스탯 카드 ─────────────────────────────── */
.hero-stat-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}

/* ── CTA 버튼 (primary teal, secondary outline) ──── */
.cta-btn-primary {
  background: linear-gradient(135deg, var(--ci-teal) 0%, var(--ci-teal-dark) 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,163,149,0.28) !important;
}
.cta-btn-secondary {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.7) !important;
}
.cta-btn-secondary:hover {
  background: rgba(255,255,255,0.12) !important;
}

/* ── 철학 섹션 / 밸류 카드 ────────────────────────── */
.philosophy-quote {
  color: #374151 !important;
}
.value-card {
  background: #fff !important;
  border: none !important;
}
/* 밸류 카드 아이콘 — 카드마다 색을 다르게 하여 시각적 구분 */
.value-icon {
  color: #fff !important;
}
/* 1) 자연치아 보존 — 틸(브랜드 메인) */
.value-icon--teal {
  background: linear-gradient(135deg, var(--ci-teal) 0%, var(--ci-teal-dark) 100%) !important;
}
/* 2) 충분한 설명 — 오렌지(브랜드 서브) */
.value-icon--orange {
  background: linear-gradient(135deg, var(--ci-orange) 0%, var(--ci-orange-dark) 100%) !important;
}
/* 3) 웃으며 나가는 경험 — 앰버/골드(따뜻함) */
.value-icon--amber {
  background: linear-gradient(135deg, #FBB040 0%, #F5A623 100%) !important;
}
/* 4) 재료와 진료비(gem) — 딥 오렌지 강조 */
.value-icon--gem {
  background: linear-gradient(135deg, #F05A22 0%, #d4491a 100%) !important;
}
/* 클래스 미지정 아이콘 폴백 — 기존 틸 유지 */
.value-icon:not(.value-icon--teal):not(.value-icon--orange):not(.value-icon--amber):not(.value-icon--gem) {
  background: linear-gradient(135deg, var(--ci-teal) 0%, var(--ci-teal-dark) 100%) !important;
}

/* ── 우리의 약속 (our-promise) ────────────────────── */
#our-promise .ccb,
.promise-card {
  background: #fff !important;
  border: none !important;
}

/* ── 의료진 카드 ──────────────────────────────────── */
.doctor-card {
  background: #fff !important;
  border: none !important;
}

/* ── 리뷰 카드 ────────────────────────────────────── */
.review-card {
  background: #fff !important;
  border: none !important;
}
.review-author-name { color: #1f2937 !important; }
.review-date        { color: #9ca3af !important; }
.review-text        { color: #4b5563 !important; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-item {
  background: #fff !important;
  border: none !important;
}

/* ── 스크롤바 (라이트) ────────────────────────────── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f5; }
::-webkit-scrollbar-thumb {
  background: var(--ci-teal-light);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--ci-teal); }

/* ── 심미치료 치료 철학 배너 (메인 #treatments) ──────── */
.aesthetic-philo {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--ci-border);
  background:
    radial-gradient(120% 120% at 50% 0%, var(--ci-teal-soft) 0%, #ffffff 60%),
    #ffffff;
  box-shadow: 0 18px 45px rgba(0, 137, 123, 0.08);
}
.aesthetic-philo__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.6rem 1.6rem 2.4rem;
  text-align: center;
}
@media (min-width: 768px) {
  .aesthetic-philo__inner { padding: 3.2rem 2rem; }
}
.aesthetic-philo__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--ci-teal-dark);
  background: #fff;
  border: 1px solid rgba(0, 163, 149, 0.25);
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
  box-shadow: 0 4px 14px rgba(0, 137, 123, 0.08);
}
.aesthetic-philo__quote {
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: #1f2937;
  margin-bottom: 1.1rem;
  word-break: keep-all;
}
.aesthetic-philo__quote .em {
  background: linear-gradient(120deg, var(--ci-teal) 0%, var(--ci-orange) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aesthetic-philo__sub {
  max-width: 620px;
  margin: 0 auto 1.6rem;
  font-size: .96rem;
  line-height: 1.85;
  color: #5b6672;
  word-break: keep-all;
}
.aesthetic-philo__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.7rem;
}
.aesthetic-philo__tag {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ci-teal-dark);
  background: var(--ci-teal-soft);
  border: 1px solid rgba(0, 163, 149, 0.18);
  padding: .35rem .85rem;
  border-radius: 999px;
}
.aesthetic-philo__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--ci-teal) 0%, var(--ci-teal-dark) 100%);
  padding: .7rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 22px rgba(0, 137, 123, 0.22);
}
.aesthetic-philo__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 137, 123, 0.3);
}
.aesthetic-philo__link i { transition: transform .2s ease; }
.aesthetic-philo__link:hover i { transform: translateX(3px); }
