/* =========================================================
   서울하루치과 - CSS
   ========================================================= */

:root {
  --main-color: #4a9b9b;
  --main-dark: #3a8585;
  --main-light: #e8f4f4;
  --text: #333;
  --text-light: #666;
  --border: #e0e0e0;
  --card: #f9f9f9;
  --white: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Serif KR', 'Maitree', serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

/* 스크롤 위치 유지를 위한 수정 */
body.nav-open {
  overflow: hidden;
}

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

.inwrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   HEADER - 데스크탑 로고/메뉴 2배 크기
   ========================================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

header h1 a {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 로고 크기 (80% 축소) */
header h1 #logo {
  width: 77px;
  height: 77px;
}

header h1 .logo-text {
  display: flex;
  flex-direction: column;
}

/* 로고 텍스트 (80% 축소) */
header h1 .logo-text strong {
  font-size: 29px;
  font-weight: 600;
  color: var(--text);
}

header h1 .logo-text small {
  font-size: 14px;
  color: var(--text-light);
  letter-spacing: 2px;
}

/* PC Navigation - 메뉴 폰트 2배 */
header nav .lnb {
  display: flex;
  gap: 48px;
}

header nav .lnb > li {
  position: relative;
}

header nav .lnb > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  padding: 32px 0;
  transition: color 0.3s;
}

header nav .lnb > li > a span {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
  transition: transform 0.3s;
}

header nav .lnb > li > a:hover {
  color: var(--main-color);
}

/* PC Dropdown - 하위 메뉴 */
header nav .lnb > li > ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

header nav .lnb > li:hover > ul {
  opacity: 1;
  visibility: visible;
}

header nav .lnb > li > ul > li > a {
  display: block;
  padding: 12px 28px;
  font-size: 16px;
  color: var(--text);
  transition: all 0.2s;
}

header nav .lnb > li > ul > li > a:hover {
  background: var(--main-light);
  color: var(--main-color);
}

/* Hamburger Button */
.menu_wrap {
  display: none;
}

#menu_but {
  width: 48px;
  height: 48px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1001;
}

#menu_but span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: all 0.3s;
}

/* 메인페이지에서 스크롤 전 흰색 버튼 */
.main-page #menu_but span {
  background: var(--white);
}

.main-page header.scrolled #menu_but span {
  background: var(--text);
}

/* X 버튼 변형 */
header.open #menu_but span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--text) !important;
}

header.open #menu_but span:nth-child(2) {
  opacity: 0;
}

header.open #menu_but span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--text) !important;
}

/* Navigation Dim */
.nav-dim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.nav-dim.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile Logo in Menu */
.mobile-logo {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.mobile-logo img {
  width: 36px;
  height: 36px;
}

.mobile-logo span {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

/* =========================================================
   MOBILE STYLES
   ========================================================= */

@media (max-width: 980px) {
  header .inwrap {
    height: 64px;
  }

  header h1 #logo {
    width: 36px;
    height: 36px;
  }

  header h1 .logo-text strong {
    font-size: 15px;
  }

  header h1 .logo-text small {
    font-size: 9px;
  }

  .menu_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  header nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 85%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  header.open nav {
    right: 0;
  }

  /* 모바일 메뉴 상단 로고 */
  header nav .mobile-logo {
    display: flex;
  }

  header nav .lnb {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  header nav .lnb > li {
    border-bottom: 1px solid var(--border);
  }

  header nav .lnb > li > a {
    padding: 18px 24px;
    justify-content: space-between;
    font-size: 15px;
  }

  header nav .lnb > li > a span {
    width: 10px;
    height: 10px;
    transition: transform 0.3s;
  }

  header nav .lnb > li.active > a span {
    transform: rotate(-135deg);
  }

  /* 모바일 서브메뉴 */
  header nav .lnb > li > ul {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: var(--card);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    min-width: auto;
  }

  header nav .lnb > li.active > ul {
    max-height: 500px;
  }

  header nav .lnb > li > ul > li > a {
    padding: 14px 24px 14px 40px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
  }

  header nav .lnb > li > ul > li:last-child > a {
    border-bottom: none;
  }
}

/* =========================================================
   MAIN VISUAL (Swiper)
   ========================================================= */

.main_visual {
  position: relative;
  height: 100vh;
  min-height: 600px;
}

.main_visual .swiper {
  height: 100%;
}

.main_visual .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.main_visual .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}

.main_visual .slide-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 600px;
}

.main_visual .slide-content small {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.main_visual .slide-content h2 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
}

.main_visual .slide-content h2 strong {
  font-weight: 600;
}

.main_visual .slide-content p {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.8;
}

/* Swiper Controls */
.main_visual .swiper-pagination {
  position: absolute;
  bottom: 40px;
  left: 24px;
  width: auto;
  font-size: 14px;
  color: var(--white);
}

.main_visual .swiper-button-prev,
.main_visual .swiper-button-next {
  color: var(--white);
  width: 48px;
  height: 48px;
}

.main_visual .swiper-button-prev::after,
.main_visual .swiper-button-next::after {
  font-size: 20px;
}

@media (max-width: 768px) {
  .main_visual {
    height: 100vh;
    min-height: 500px;
  }

  .main_visual .slide-content h2 {
    font-size: 32px;
  }

  .main_visual .slide-content p {
    font-size: 15px;
  }
}

/* =========================================================
   SUB VISUAL (서브페이지 상단)
   ========================================================= */

.sub_visual {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 120px;
}

.sub_visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.sub_visual .inwrap {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.sub_visual h2 {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 12px;
}

.sub_visual p {
  font-size: 16px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .sub_visual {
    height: 240px;
    margin-top: 64px;
  }

  .sub_visual h2 {
    font-size: 28px;
  }
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 80px 0;
}

.sub_tit {
  text-align: center;
  margin-bottom: 48px;
}

.sub_tit h3 {
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
}

.sub_tit h3 .num {
  color: var(--main-color);
  font-weight: 600;
  margin-right: 8px;
}

.sub_tit p {
  font-size: 18px;
  color: var(--text-light);
}

.sub_tit p span {
  color: var(--main-color);
  font-weight: 500;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .sub_tit h3 {
    font-size: 22px;
  }

  .sub_tit p {
    font-size: 15px;
  }
}

/* =========================================================
   CONTENT ELEMENTS
   ========================================================= */

.text-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.text-content p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

/* Content List - PC 중앙 정렬 */
.content-list {
  max-width: 700px;
  margin: 0 auto;
}

.content-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--main-color);
  border-radius: 50%;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-item {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
}

.feature-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 12px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Step List */
.step-list {
  max-width: 700px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--main-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

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

.faq-item {
  margin-bottom: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 12px;
}

.faq-item h4::before {
  content: 'Q. ';
}

.faq-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

/* Two Column Layout */
.two-column {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.two-column.reverse {
  flex-direction: row-reverse;
}

.two-column .col-text {
  flex: 1;
}

.two-column .col-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

.two-column .col-img {
  flex: 1;
  max-width: 400px;
}

.two-column .col-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .two-column,
  .two-column.reverse {
    flex-direction: column;
  }

  .two-column .col-img {
    max-width: 100%;
  }
}

/* Image Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

  .gallery-grid img {
    height: 200px;
  }
}

/* =========================================================
   MAIN PAGE SECTIONS
   ========================================================= */

/* Subject Section */
.main_subject {
  padding: 100px 0;
}

.main_subject .subject-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.main_subject .subject-item {
  text-align: center;
}

.main_subject .subject-item .icon-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.main_subject .subject-item .icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_subject .subject-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.main_subject .subject-item p {
  font-size: 14px;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .main_subject .subject-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main_subject .subject-item .icon-wrap {
    width: 80px;
    height: 80px;
  }
}

/* Doctor Section */
.main_doctor {
  padding: 100px 0;
  background: var(--card);
}

.main_doctor .doctor-wrap {
  display: flex;
  align-items: center;
  gap: 60px;
}

.main_doctor .doctor-img {
  flex: 1;
  max-width: 400px;
}

.main_doctor .doctor-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.main_doctor .doctor-info {
  flex: 1;
}

.main_doctor .doctor-info h3 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 24px;
}

.main_doctor .doctor-info h3 strong {
  font-weight: 600;
  color: var(--main-color);
}

.main_doctor .doctor-info p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .main_doctor .doctor-wrap {
    flex-direction: column;
    text-align: center;
  }

  .main_doctor .doctor-info h3 {
    font-size: 24px;
  }
}

/* =========================================================
   의료진 듀얼 레이아웃 (사진 2개 양쪽에서 중앙으로)
   ========================================================= */

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

.doctor-dual-wrap .doctor-img {
  flex: 0 0 280px;
  max-width: 280px;
}

.doctor-dual-wrap .doctor-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.doctor-dual-wrap .doctor-img.left img {
  transform: translateX(20px);
}

.doctor-dual-wrap .doctor-img.right img {
  transform: translateX(-20px);
}

.doctor-dual-wrap .doctor-info {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 20px;
}

.doctor-dual-wrap .doctor-info h3 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.4;
}

.doctor-dual-wrap .doctor-info h3 strong {
  font-weight: 600;
  color: var(--main-color);
}

.doctor-dual-wrap .doctor-info p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-light);
}

/* 모바일에서 의료진 소개 + 약력 */
.doctor-dual-wrap .doctor-credentials {
  margin-top: 20px;
  text-align: left;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

.doctor-dual-wrap .doctor-credentials h4 {
  font-size: 14px;
  color: var(--main-color);
  margin-bottom: 8px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .doctor-dual-wrap {
    flex-wrap: wrap;
  }
  
  .doctor-dual-wrap .doctor-info {
    order: -1;
    flex: 0 0 100%;
    margin-bottom: 40px;
  }
  
  .doctor-dual-wrap .doctor-img {
    flex: 0 0 45%;
  }
  
  .doctor-dual-wrap .doctor-img.left img,
  .doctor-dual-wrap .doctor-img.right img {
    transform: none;
  }
}

@media (max-width: 768px) {
  .doctor-dual-wrap .doctor-img {
    flex: 0 0 100%;
    max-width: 300px;
  }
  
  .doctor-dual-wrap .doctor-info h3 {
    font-size: 22px;
  }
}

/* =========================================================
   메인 특별함 섹션
   ========================================================= */

.main_special {
  padding: 100px 0;
  background: var(--card);
}

.special-header {
  text-align: center;
  margin-bottom: 50px;
}

.special-header small {
  display: block;
  font-size: 13px;
  color: var(--main-color);
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.special-header > p:first-of-type {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.special-header h3 {
  font-size: 32px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 16px;
}

.special-header h3 strong {
  font-weight: 600;
}

.special-header .desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.special-img {
  max-width: 600px;
  margin: 0 auto 60px;
}

.special-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.special-list {
  max-width: 700px;
  margin: 0 auto;
}

.special-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.special-item:last-child {
  border-bottom: none;
}

.special-item .num {
  font-size: 14px;
  color: var(--main-color);
  font-weight: 500;
  font-style: italic;
  min-width: 30px;
}

.special-item .item-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.special-item .item-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.special-item .item-content p strong {
  color: var(--main-color);
  font-weight: 500;
}

.special-divider {
  border: none;
  border-top: 2px dashed var(--border);
  margin: 20px 0;
}

@media (max-width: 768px) {
  .main_special {
    padding: 60px 0;
  }
  
  .special-header h3 {
    font-size: 24px;
  }
  
  .special-item .item-content h4 {
    font-size: 16px;
  }
  
  .special-item .item-content p {
    font-size: 13px;
  }
}

/* Promise Section */
.main_promise {
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.main_promise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.92);
}

.main_promise .inwrap {
  position: relative;
  z-index: 1;
}

.main_promise .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.main_promise .section-title h3 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 16px;
}

.main_promise .section-title h3 strong {
  font-weight: 600;
  color: var(--main-color);
}

.main_promise .promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.main_promise .promise-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.main_promise .promise-item .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--main-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--main-color);
}

.main_promise .promise-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.main_promise .promise-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .main_promise {
    background-attachment: scroll;
  }

  .main_promise .promise-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CARD GRID (카테고리 페이지)
   ========================================================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card-item {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.card-item .card-img {
  height: 200px;
  overflow: hidden;
}

.card-item .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card-item:hover .card-img img {
  transform: scale(1.05);
}

.card-item .card-content {
  padding: 24px;
}

.card-item .card-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.card-item .card-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* =========================================================
   비급여 수가표
   ========================================================= */

.price-table-section {
  margin-top: 40px;
}

.price-category {
  margin-bottom: 40px;
}

.price-category h4 {
  background: var(--main-color);
  color: var(--white);
  padding: 14px 20px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.price-table tr {
  border-bottom: 1px solid var(--border);
}

.price-table tr:last-child {
  border-bottom: none;
}

.price-table td {
  padding: 14px 20px;
  font-size: 15px;
}

.price-table td:first-child {
  color: var(--text);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 500;
  color: var(--main-dark);
}

.price-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--main-light);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

.price-note p {
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .price-table td {
    padding: 12px 16px;
    font-size: 14px;
  }

  .price-category h4 {
    font-size: 16px;
    padding: 12px 16px;
  }
}

/* 3열 그리드 레이아웃 */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: #2a2a2a;
  color: #aaa;
  padding: 60px 0 40px;
}

footer .inwrap {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

footer .info_wrap h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

footer .info_wrap p {
  font-size: 13px;
  line-height: 1.8;
}

footer .info_wrap h5 {
  font-size: 20px;
  color: var(--main-color);
  margin-top: 8px;
}

footer .copy {
  width: 100%;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #444;
  font-size: 12px;
  color: #666;
}

footer .copy span {
  color: var(--white);
  font-weight: 500;
}

@media (max-width: 768px) {
  footer .inwrap {
    flex-direction: column;
    gap: 30px;
  }
}

/* =========================================================
   AOS ANIMATIONS
   ========================================================= */

[data-aos] {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   하단 고정 네비게이션 바 (PC + 모바일)
   ========================================================= */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #2d2d2d;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  box-shadow: 0 -2px 15px rgba(0,0,0,0.15);
  z-index: 997;
}

.bottom-nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 32px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  gap: 10px;
  transition: all 0.2s;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.bottom-nav-item:last-child {
  border-right: none;
}

.bottom-nav-item svg {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}

.bottom-nav-item:hover {
  background: rgba(255,255,255,0.1);
}

.bottom-nav-item.highlight {
  background: var(--main-color);
  color: #ffffff;
}

.bottom-nav-item.highlight:hover {
  background: var(--main-dark);
}

/* 하단 네비가 있으므로 footer에 여백 추가 */
footer {
  padding-bottom: 100px;
}

/* 모바일에서 세로 배치 */
@media (max-width: 980px) {
  .bottom-nav {
    height: 64px;
    justify-content: space-around;
  }
  
  .bottom-nav-item {
    flex-direction: column;
    flex: 1;
    padding: 0;
    font-size: 11px;
    gap: 4px;
    border-right: none;
  }
  
  .bottom-nav-item svg {
    width: 22px;
    height: 22px;
  }
}
