/*
Theme Name: 미소안치과 리뉴얼
Theme URI: https://dentaline.mycafe24.com
Author: 미소안치과
Description: 미소안치과 리뉴얼 홈페이지
Version: 1.0
*/

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1B5FA5;
  --primary-dark: #134480;
  --accent: #26B3A0;
  --accent-light: #E8F8F6;
  --gray-50: #F8FAFC;
  --gray-100: #EFF3F8;
  --gray-200: #E2E8F0;
  --gray-500: #718096;
  --gray-700: #4A5568;
  --gray-900: #1A202C;
  --white: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(27,95,165,0.18);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, '맑은 고딕', sans-serif;
  color: var(--gray-900);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); }

/* ── Section Titles ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; color: var(--accent);
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--gray-900); line-height: 1.25; }
.section-desc { margin-top: 16px; font-size: 1.05rem; color: var(--gray-500); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 88px;
  padding: 12px 0;
}
/* 로고 */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  height: 60px; width: auto;
  object-fit: contain;
}
.nav-logo-text {
  font-size: 1.4rem; font-weight: 300; letter-spacing: 0.04em;
  color: var(--gray-900);
  display: flex; flex-direction: column; justify-content: center;
  height: 60px; line-height: 1.2;
}
.nav-logo-sub {
  font-size: 0.72rem; font-weight: 500;
  color: var(--gray-500); letter-spacing: 0.04em;
  margin-top: 3px;
}
/* 2행 메뉴 */
.nav-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}
.nav-row {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-row-top {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gray-100);
}
.nav-row-bottom { padding-top: 4px; }
.nav-row a {
  padding: 5px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1A202C;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-row a:hover {
  color: var(--primary);
  background: var(--gray-50);
}
.nav-row-top a:first-child { color: #1A202C; font-weight: 700; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: all var(--transition); }

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0;
  background: white; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 999; transform: translateY(-110%); transition: transform 0.3s ease;
  padding: 16px 24px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; }
.mobile-menu ul li a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 1rem; font-weight: 500; color: var(--gray-900);
}
.mobile-menu ul li:last-child a { border-bottom: none; }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(10,25,60,0.70) 0%, rgba(20,70,130,0.60) 50%, rgba(30,140,130,0.50) 100%); }
.hero-photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("https://dentaline.mycafe24.com/wp-content/uploads/2025/11/KakaoTalk_20251030_135502659_03.jpg");
  background-size: auto 200%;
  background-position: right top;
  background-repeat: no-repeat;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(38,179,160,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.hero-content { position: relative; z-index: 1; width: 100%; padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.95);
  padding: 8px 18px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px);
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: 0.7; } }
.hero-title { font-size: clamp(2.4rem, 5.5vw, 3.8rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 24px; word-break: keep-all; }
.hero-title .highlight { color: var(--accent); }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.82); margin-bottom: 40px; word-break: keep-all; max-width: 480px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-card-stack { position: relative; width: 380px; height: 400px; }
.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 20px;
  padding: 28px; color: white;
}
.hero-card-main { top: 40px; left: 0; width: 280px; }
.hero-card-stats { bottom: 0; right: 0; width: 200px; }
.hero-card-label { font-size: 0.75rem; opacity: 0.7; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.hero-card-value { font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--accent); }
.hero-card-sub { font-size: 0.85rem; opacity: 0.8; margin-top: 6px; }
.hero-scroll {
  position: absolute; bottom: 40px; 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.8rem; cursor: pointer;
}
.hero-scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent); animation: scrollDown 2s infinite; }
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── SERVICES ── */
.services { padding: 100px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  padding: 32px 24px; background: var(--white);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  transition: all var(--transition);
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-6px); }
.service-icon {
  width: 52px; height: 52px; background: var(--accent-light); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px; transition: background var(--transition);
}
.service-card:hover .service-icon { background: var(--accent); }
.service-name { font-size: 1.05rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.service-desc { font-size: 0.875rem; color: var(--gray-500); line-height: 1.65; word-break: keep-all; }

/* ── STATS BAR ── */
.stats-bar { padding: 56px 0; background: linear-gradient(135deg, #1B5FA5, #26B3A0); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; color: white; padding: 16px 24px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.6rem; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.stat-unit { font-size: 1.2rem; font-weight: 500; opacity: 0.85; }
.stat-label { font-size: 0.9rem; opacity: 0.75; margin-top: 6px; }

/* ── FEATURES ── */
.features { padding: 100px 0; background: var(--gray-50); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.features-list { display: flex; flex-direction: column; gap: 24px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--accent-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature-desc { font-size: 0.9rem; color: var(--gray-500); word-break: keep-all; }
.features-img-box { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 20px; padding: 48px; text-align: center; color: white; }
.features-img-box .big-icon { font-size: 5rem; margin-bottom: 16px; display: block; }
.equipment-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.eq-tag { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }

/* ── DOCTORS ── */
.doctors { padding: 100px 0; background: var(--white); }
.doctor-card { text-align: center; padding: 40px 28px 32px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); transition: all var(--transition); }
.doctor-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-4px); }
.doctor-avatar {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; color: white;
}
.doctor-name { font-size: 1.2rem; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.doctor-role { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.doctor-career { font-size: 0.85rem; color: var(--gray-500); line-height: 1.8; text-align: left; }
.doctor-career li::before { content: "• "; color: var(--accent); }

/* ── LOCATION ── */
.location { padding: 100px 0; background: var(--gray-50); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.location-info h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 28px; color: var(--gray-900); }
.info-rows { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { width: 40px; height: 40px; min-width: 40px; background: var(--accent-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.info-label { font-size: 0.8rem; color: var(--gray-500); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.info-value { font-size: 0.95rem; color: var(--gray-900); font-weight: 500; word-break: keep-all; }
.info-value a { color: var(--primary); font-weight: 700; }
.info-value a:hover { text-decoration: underline; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 380px; display: block; border: none; }

/* ── BOOKING ── */
.booking { padding: 80px 0; background: linear-gradient(135deg, #1B5FA5, #26B3A0); text-align: center; }
.booking h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: white; margin-bottom: 16px; word-break: keep-all; }
.booking p { font-size: 1.05rem; color: rgba(255,255,255,0.82); margin-bottom: 40px; word-break: keep-all; }
.booking-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white { background: white; color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.btn-kakao { background: #FEE500; color: #3C1E1E; border-color: #FEE500; font-weight: 700; }
.btn-kakao:hover { background: #FADA00; border-color: #FADA00; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.6); font-weight: 600; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: white; transform: translateY(-2px); }

/* ── FOOTER ── */
.site-footer { background: #0F1C2E; color: rgba(255,255,255,0.6); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px; }
.footer-brand .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 300; letter-spacing: 0.04em; color: white; margin-bottom: 12px;
}
.footer-logo-img { height: 50px; width: auto; object-fit: contain; }
.footer-logo-text {
  display: flex; flex-direction: column; justify-content: center;
  height: 50px; line-height: 1.2; color: white;
}
.footer-logo-sub {
  font-size: 0.72rem; font-weight: 400;
  color: rgba(255,255,255,0.6); letter-spacing: 0.04em;
  margin-top: 3px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.75; word-break: keep-all; }
.footer-col h4 { color: white; font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Scroll Animations ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-rows { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-text { font-size: 1.1rem; }
  .header-inner { min-height: 68px; }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .booking-btns { flex-direction: column; align-items: center; }
}

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

/* ════════════════════════════════════
   INNER PAGES
   ════════════════════════════════════ */

/* Page Hero */
.page-hero {
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-icon { font-size: 3.2rem; margin-bottom: 16px; }
.page-hero-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; color: white; margin-bottom: 14px; }
.page-hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 24px; word-break: keep-all; }
.page-breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.page-breadcrumb a { color: rgba(255,255,255,0.7); }
.page-breadcrumb a:hover { color: white; }

/* Inner Page Wrapper */
.inner-page { padding-bottom: 0; }

/* Sections */
.ip-section { padding: 80px 0; }
.ip-section-gray { background: var(--gray-50); }
.ip-section-blue { background: linear-gradient(135deg, #1B5FA5, #26B3A0); }

.ip-section-header { text-align: center; margin-bottom: 48px; }
.ip-label {
  display: inline-block; color: var(--accent);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px;
}
.ip-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; line-height: 1.3; margin-bottom: 16px; color: var(--gray-900); }
.ip-desc { font-size: 1rem; color: var(--gray-700); line-height: 1.8; word-break: keep-all; }
.ip-section-desc { font-size: 1rem; color: var(--gray-500); max-width: 560px; margin: 0 auto; }

/* Grid */
.ip-grid { display: grid; gap: 56px; align-items: center; }
.ip-grid-2 { grid-template-columns: 1fr 1fr; }
.ip-grid-reverse > *:first-child { order: 2; }
.ip-grid-reverse > *:last-child { order: 1; }

/* Images */
.ip-img-wrap { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ip-img { width: 100%; height: 320px; object-fit: cover; display: block; }
.ip-img-portrait { height: 400px; object-fit: cover; object-position: top; }
.ip-img-full-wrap { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ip-img-full { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.ip-img-caption { text-align: center; font-size: 0.85rem; color: var(--gray-500); margin-top: 12px; }

/* Cards */
.ip-card-grid { display: grid; gap: 24px; }
.ip-card-grid-1 { grid-template-columns: 1fr; }
.ip-card-grid-2 { grid-template-columns: 1fr 1fr; }
.ip-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ip-card {
  padding: 32px 24px; background: white;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  transition: all var(--transition);
}
.ip-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.ip-card-accent { background: var(--accent-light); border-color: rgba(38,179,160,0.2); }
.ip-card-icon { font-size: 2rem; margin-bottom: 14px; }
.ip-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-900); }
.ip-card p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; word-break: keep-all; }

/* Highlight & Warning Box */
.ip-highlight-box {
  margin-top: 24px; padding: 18px 20px;
  background: var(--accent-light); border-left: 4px solid var(--accent);
  border-radius: 8px; font-size: 0.9rem; line-height: 1.65; color: var(--gray-700);
}
.ip-warning-box {
  margin-top: 24px; padding: 18px 20px;
  background: #FFF8E1; border-left: 4px solid #F59E0B;
  border-radius: 8px; font-size: 0.9rem; line-height: 1.65; color: var(--gray-700);
}

/* Steps */
.ip-step-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.ip-step { display: flex; align-items: center; gap: 14px; font-size: 0.95rem; font-weight: 500; }
.ip-step-num {
  width: 32px; height: 32px; min-width: 32px;
  background: var(--accent); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}

/* Tags */
.ip-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 12px; }
.ip-tags span { background: var(--accent-light); color: var(--accent); padding: 5px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; }
.ip-badge-text { font-size: 0.95rem; color: var(--gray-700); }
.ip-badge-text strong { color: var(--primary); font-size: 1.15rem; }

/* Career List */
.ip-career-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ip-career-list li { font-size: 0.9rem; color: var(--gray-700); padding-left: 16px; position: relative; }
.ip-career-list li::before { content: '•'; position: absolute; left: 0; color: var(--accent); }

/* Benefit List */
.ip-benefit-list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.ip-benefit { display: flex; align-items: flex-start; gap: 14px; }
.ip-benefit > span { font-size: 1.3rem; }
.ip-benefit > div { font-size: 0.92rem; color: var(--gray-700); line-height: 1.6; }

/* Quote */
.ip-quote-section { padding: 80px 0; background: linear-gradient(135deg, #0f3460, #1B5FA5); }
.ip-quote { max-width: 700px; margin: 0 auto; text-align: center; color: white; }
.ip-quote-mark { font-size: 5rem; line-height: 1; color: var(--accent); font-family: Georgia, serif; margin-bottom: -16px; }
.ip-quote p { font-size: 1.15rem; line-height: 1.8; color: rgba(255,255,255,0.92); word-break: keep-all; }
.ip-quote-author { margin-top: 24px; font-size: 0.9rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }

/* Hours Grid */
.ip-hours-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); gap: 16px; justify-content: center; }
.ip-hour-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 16px; background: rgba(255,255,255,0.12);
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.2); text-align: center;
}
.ip-hour-featured { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.ip-hour-day { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.ip-hour-time { font-size: 0.88rem; color: white; line-height: 1.6; }
.ip-hour-time small { color: rgba(255,255,255,0.65); font-size: 0.8rem; }

/* ── Snoring: Cardiovascular Risk Section ── */
.snoring-cardio-section { background: linear-gradient(135deg, #1a0a08 0%, #2e1010 50%, #3d1818 100%); color: white; }
.snoring-cardio-section .ip-section-header { margin-bottom: 40px; }
.snoring-cardio-section .ip-label { color: #ff9999; background: rgba(231,76,60,0.18); padding: 4px 14px; border-radius: 20px; }
.snoring-cardio-section .ip-title { color: white; }
.snoring-cardio-section .ip-desc { color: rgba(255,255,255,0.72); }
.cardio-risk-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 52px; align-items: center; }
.cardio-illustration { display: flex; justify-content: center; }
.cardio-illustration svg { max-width: 260px; width: 100%; filter: drop-shadow(0 0 28px rgba(231,76,60,0.5)); }
.cardio-stat-list { display: flex; flex-direction: column; gap: 14px; }
.cardio-stat-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(231,76,60,0.22); border-left: 4px solid #e74c3c; border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; gap: 18px; }
.cardio-stat-num { font-size: 1.75rem; font-weight: 800; color: #ff6b6b; white-space: nowrap; min-width: 68px; text-align: right; }
.cardio-stat-text strong { color: white; display: block; font-size: 0.95rem; margin-bottom: 3px; }
.cardio-stat-text { color: rgba(255,255,255,0.78); font-size: 0.87rem; line-height: 1.55; }

/* Responsive */
@media (max-width: 1024px) {
  .ip-grid-2 { grid-template-columns: 1fr; }
  .ip-grid-reverse > *:first-child { order: 0; }
  .ip-grid-reverse > *:last-child { order: 0; }
  .ip-card-grid-3 { grid-template-columns: 1fr 1fr; }
  .ip-hours-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ip-section { padding: 56px 0; }
  .ip-card-grid-2, .ip-card-grid-3 { grid-template-columns: 1fr; }
  .ip-hours-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 100px 0 48px; }
  .cardio-risk-layout { grid-template-columns: 1fr; gap: 28px; }
  .cardio-illustration svg { max-width: 200px; }
  .cardio-stat-num { font-size: 1.4rem; min-width: 56px; }
}

/* Hero Doctor Photo */
.hero-doctor-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.hero-doctor-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.btn-naver { background: #03C75A; color: white; border-color: #03C75A; font-weight: 700; }
.btn-naver:hover { background: #02a84a; border-color: #02a84a; transform: translateY(-2px); }

/* =====================================================
   FAQ Accordion
   ===================================================== */
.faq-section { background: var(--gray-50); }
.faq-section .section-header { margin-bottom: 48px; }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: white;
  border-radius: 14px;
  border: 1.5px solid var(--gray-100);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item:has(.faq-q[aria-expanded="true"]) {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(38,179,160,0.15);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
  font-family: inherit;
}
.faq-q:hover { background: var(--gray-50); }
.faq-q[aria-expanded="true"] { color: var(--accent); }

.faq-q-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.faq-q[aria-expanded="true"] .faq-q-num {
  background: var(--accent);
  color: white;
}

.faq-arrow {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.3s ease;
}
.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.3s ease;
  padding: 0 24px 0 24px;
}
.faq-a.open {
  max-height: 600px;
  padding: 0 24px 22px 24px;
}
.faq-a-inner {
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}
.faq-a p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin: 0;
  word-break: keep-all;
}
.faq-a p + p { margin-top: 10px; }

/* =====================================================
   Reviews Section
   ===================================================== */
.reviews-section { background: white; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 28px;
  border: 1.5px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(27,95,165,0.12);
}

.review-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.85;
  flex: 1;
  word-break: keep-all;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--gray-200);
}

.review-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gray-900);
}

.review-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 20px;
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* TMJ video embed */
.tmj-video-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  aspect-ratio: 16 / 9;
}
.tmj-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
