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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.08rem;
  font-weight: 900;
  color: #2d5016;
  letter-spacing: -0.02em;
}

.logo span {
  font-size: 1.43rem;
  font-weight: 400;
  margin-left: 6px;
  color: #555;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: #2d5016;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2d5016;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

/* 햄버거 메뉴 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 40%, #6b9b4e 100%);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: 'Noto Serif KR', serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #fff;
  color: #2d5016;
}

.btn-primary:hover {
  background: #f0f7e6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-call {
  background: #fff;
  color: #2d5016;
  font-size: 1.15rem;
  padding: 16px 48px;
}

.btn-call:hover {
  background: #f0f7e6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: #f8faf5;
}

.section-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #222;
}

.section-title.light {
  color: #fff;
}

.section-subtitle {
  text-align: center;
  color: #777;
  font-size: 1.05rem;
  margin-bottom: 60px;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Doctor ===== */
.doctor-card {
  display: flex;
  gap: 50px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.doctor-photo {
  flex-shrink: 0;
}

.doctor-photo-placeholder {
  width: 220px;
  height: 280px;
  background: linear-gradient(135deg, #e8f0de, #d4e4c8);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6b9b4e;
  font-weight: 700;
}

.doctor-info h3 {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #222;
}

.doctor-info h3 span {
  font-size: 1rem;
  font-weight: 400;
  color: #2d5016;
  margin-left: 8px;
}

.doctor-career {
  margin-bottom: 20px;
}

.doctor-career li {
  padding: 4px 0;
  color: #555;
  font-size: 0.95rem;
}

.doctor-career li::before {
  content: '·';
  margin-right: 8px;
  color: #6b9b4e;
  font-weight: 700;
}

.doctor-message {
  font-style: italic;
  color: #2d5016;
  font-size: 1.05rem;
  border-left: 3px solid #6b9b4e;
  padding-left: 16px;
}

/* ===== Treatment Grid ===== */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.treatment-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.treatment-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.treatment-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #222;
}

.treatment-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===== Location ===== */
.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
}

.map-crop {
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}

.map-crop iframe {
  position: absolute;
  top: 0;
  left: -480px;
  width: calc(100% + 480px);
  height: 100%;
  border: 0;
}

.map-link {
  display: block;
  pointer-events: auto;
}

.map-mobile {
  display: none;
}

.map-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.info-item {
  margin-bottom: 24px;
}

.info-item h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #2d5016;
}

.info-item p {
  color: #555;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid #eee;
}

.hours-table td {
  padding: 8px 0;
  color: #555;
  font-size: 0.95rem;
}

.hours-table td:first-child {
  font-weight: 500;
  color: #333;
  width: 100px;
}

/* ===== Reservation ===== */
.section-reservation {
  background: linear-gradient(135deg, #2d5016, #4a7c2e);
  text-align: center;
  padding: 85px 0;
}

.reservation-content {
  text-align: center;
}

.phone-number {
  margin-bottom: 20px;
}

.phone-number a {
  font-family: 'Noto Serif KR', serif;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}

.reservation-desc {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  background: #1a1a1a;
  color: #999;
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
  line-height: 2;
}

.footer-logo {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 12px;
}

.copyright {
  margin-top: 12px;
  color: #666;
}

/* ===== Mobile Banner ===== */
.mobile-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.banner-content {
  padding: 16px 20px;
  position: relative;
}

.banner-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

.banner-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.banner-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #f0f7e6;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.banner-text strong {
  font-size: 1rem;
  color: #222;
}

.banner-text span {
  font-size: 0.85rem;
  color: #2d5016;
}

/* ===== Herbal Medicine Page ===== */
.herbal-hero {
  position: relative;
  height: 50vh;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a0e, #2d5016 40%, #4a7c2e 100%);
  margin-top: 70px;
}

.herbal-hero-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.herbal-hero-content {
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.herbal-hero-content h1 {
  font-family: 'Noto Serif KR', serif;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
}

.herbal-hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.8;
}

.herbal-intro {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 2;
  color: #444;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.step-number {
  font-family: 'Noto Serif KR', serif;
  font-size: 2rem;
  font-weight: 900;
  color: #6b9b4e;
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #222;
}

.process-step p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* Herbal Grid */
.herbal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.herbal-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eef3e8;
  transition: transform 0.3s, box-shadow 0.3s;
}

.herbal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.herbal-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.herbal-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #222;
}

.herbal-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 14px;
  line-height: 1.6;
}

.herbal-card ul {
  padding-left: 0;
}

.herbal-card li {
  font-size: 0.85rem;
  color: #555;
  padding: 3px 0;
}

.herbal-card li::before {
  content: '✓';
  margin-right: 6px;
  color: #6b9b4e;
  font-weight: 700;
}

/* FAQ */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid #e8e8e8;
}

.faq-question {
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 8px;
  cursor: default;
}

.faq-question::before {
  content: 'Q. ';
  color: #2d5016;
  font-weight: 700;
}

.faq-answer {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  padding-left: 24px;
}

/* Nav simple (herbal page) */
.nav-simple {
  gap: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header .container {
    height: 60px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    display: flex;
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-simple {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
  }

  .nav-simple .nav-link {
    padding: 0;
    border: none;
    font-size: 0.85rem;
  }

  .hero {
    min-height: 500px;
    margin-top: 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    margin-bottom: 40px;
    font-size: 0.95rem;
  }

  .doctor-card {
    flex-direction: row;
    text-align: left;
    gap: 16px;
    align-items: flex-start;
  }

  .doctor-photo-placeholder {
    width: 120px;
    height: 150px;
    min-width: 120px;
    margin: 0;
  }

  .doctor-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .doctor-career li {
    font-size: 0.85rem;
  }

  .doctor-message {
    text-align: left;
    font-size: 0.9rem;
  }

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

  .treatment-card {
    padding: 24px 16px;
  }

  .location-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .map-pc {
    display: none;
  }

  .map-mobile {
    display: block;
  }

  .phone-number a {
    font-size: 2.2rem;
  }

  /* Herbal page responsive */
  .herbal-hero {
    min-height: 280px;
    margin-top: 60px;
  }

  .herbal-hero-content h1 {
    font-size: 2rem;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .herbal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .phone-number a {
    font-size: 1.8rem;
  }
}
