/* ========================================
   연세미래치과 Landing Page - Main Styles
   ======================================== */

/* === Utility === */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-title {
  font-size: var(--font-section-title);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--space-md);
  color: white;
}

.section-title .highlight {
  color: #4db8e8;
}

.section-subtitle {
  font-size: var(--font-section-subtitle);
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.yellow {
  color: var(--color-accent);
}

/* 섹션 구분선 */
.doctor-team,
.responsible-care,
.night-care,
.orthodontics,
.implant,
.clinic-info,
.doctors,
.hours,
.location,
.footer {
  border-top: 2px solid rgba(255, 255, 255, 0.25);
}

.blue {
  color: #4db8e8;
}

/* 앵커 스크롤 시 고정 헤더 높이만큼 오프셋 */
section[id] {
  scroll-margin-top: 96px;
}

/* Scroll animation */
.fade-in {
  opacity: 0.3;
  filter: blur(6px);
  transform: translateY(30px);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* 섹션별 딜레이 애니메이션 - 자식 요소 순차 등장 */
.fade-in.visible .ortho-card,
.fade-in.visible .doctor-card,
.fade-in.visible .location__info-item,
.fade-in.visible .implant__card,
.fade-in.visible .clinic-info__icon-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpIn 0.6s ease forwards;
}

.fade-in.visible .ortho-card:nth-child(1),
.fade-in.visible .doctor-card:nth-child(1),
.fade-in.visible .location__info-item:nth-child(1),
.fade-in.visible .implant__card:nth-child(1),
.fade-in.visible .clinic-info__icon-item:nth-child(1) { animation-delay: 0.1s; }

.fade-in.visible .ortho-card:nth-child(2),
.fade-in.visible .doctor-card:nth-child(2),
.fade-in.visible .location__info-item:nth-child(2),
.fade-in.visible .implant__card:nth-child(2),
.fade-in.visible .clinic-info__icon-item:nth-child(2) { animation-delay: 0.2s; }

.fade-in.visible .ortho-card:nth-child(3),
.fade-in.visible .doctor-card:nth-child(3),
.fade-in.visible .location__info-item:nth-child(3),
.fade-in.visible .implant__card:nth-child(3),
.fade-in.visible .clinic-info__icon-item:nth-child(3) { animation-delay: 0.3s; }

.fade-in.visible .ortho-card:nth-child(4),
.fade-in.visible .clinic-info__icon-item:nth-child(4) { animation-delay: 0.4s; }

.fade-in.visible .ortho-card:nth-child(5) { animation-delay: 0.5s; }
.fade-in.visible .ortho-card:nth-child(6) { animation-delay: 0.6s; }
.fade-in.visible .ortho-card:nth-child(7) { animation-delay: 0.7s; }
.fade-in.visible .ortho-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 히어로 텍스트 애니메이션 */
.hero.visible .hero__subtitle-bar .hero__subtitle {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.2s forwards;
}

.hero.visible .hero__subtitle-bar .hero__title {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.5s forwards;
}

/* 의료진 단체사진 info 슬라이드 */
.doctor-team.visible .doctor-team__info {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.3s forwards;
}

/* 대표원장 책임진료 사진 + 텍스트 슬라이드 */
.responsible-care.visible .responsible-care__photo {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.1s forwards;
}

.responsible-care.visible .responsible-care__text {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.4s forwards;
}

/* 야간진료 텍스트 */
.night-care.visible .night-care__title {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.2s forwards;
}

.night-care.visible .night-care__desc {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.5s forwards;
}

/* 교정 타이틀 + 이미지 */
.orthodontics.visible .orthodontics__header {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.2s forwards;
}

.orthodontics.visible .orthodontics__grid {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.4s forwards;
}

/* 임플란트 타이틀 */
.implant.visible .implant__title {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.2s forwards;
}

/* 클리닉 소개 텍스트 */
.clinic-info.visible .clinic-info__sub {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.1s forwards;
}

.clinic-info.visible .clinic-info__title {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.3s forwards;
}

/* 의료진 소개 타이틀 */
.doctors.visible .doctors__intro {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.2s forwards;
}

/* 진료시간 */
.hours.visible .hours__title {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.1s forwards;
}

.hours.visible .hours__rows {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.3s forwards;
}

.hours.visible .hours__photo {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.6s forwards;
}

/* 오시는 길 */
.location.visible .location__map {
  opacity: 0;
  animation: fadeUpIn 0.8s ease 0.2s forwards;
}

/* ========================================
   1. HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  background: linear-gradient(135deg, #0b4570 0%, #0a6baf 40%, #1a8cd8 70%, #4db8e8 100%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 4% 0 4%;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 52px;
  width: auto;
  background: white;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}

.header__nav-link {
  font-size: 1.35rem;
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.header__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header__nav-link:hover {
  color: #ffffff;
}

/* 햄버거 메뉴 - 데스크탑에서 숨김 */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  position: relative;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: absolute;
  transition: all 0.3s ease;
}

.header__hamburger span:nth-child(1) {
  top: 12px;
}

.header__hamburger span:nth-child(2) {
  top: 19px;
}

.header__hamburger span:nth-child(3) {
  top: 26px;
}

.header__hamburger.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* 네이버예약 - 데스크탑에서도 표시 */
.header__nav-link--naver {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: white !important;
  background: linear-gradient(180deg, #04d862, #03b350);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.header__nav-link--naver:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(4, 216, 98, 0.4);
}

/* 모바일 메뉴 - 데스크탑에서 숨김 */
.mobile-menu {
  display: none;
}

/* ========================================
   2. HERO SECTION (캐러셀 + 히어로 통합)
   ======================================== */
.hero {
  margin-top: 96px;
  position: relative;
  overflow: hidden;
  background: #0a1628;
  color: var(--color-text-white);
  text-align: center;
}

/* 비디오 배경 */
.hero__video-wrap {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 700px;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(0.85);
}

/* 자막 스타일 텍스트 바 */
.hero__subtitle-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px 48px;
  background: linear-gradient(to top, rgba(10, 20, 50, 0.92) 0%, rgba(10, 20, 50, 0.7) 60%, transparent 100%);
  text-align: center;
}

.hero__subtitle {
  font-size: var(--font-hero-subtitle);
  font-weight: var(--font-weight-medium);
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.3;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ========================================
   3. DOCTOR TEAM (단체사진 + 연세치과 소개)
   ======================================== */
.doctor-team {
  text-align: center;
}

.doctor-team__photo {
  overflow: hidden;
}

.doctor-team__photo img {
  width: 100%;
  height: 720px;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.doctor-team__info {
  background: rgba(10, 30, 60, 0.88);
  padding: 60px 20px;
  text-align: center;
}

.doctor-team__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  color: white;
  margin-bottom: var(--space-lg);
}

.doctor-team__desc {
  font-size: var(--font-hero-subtitle);
  font-weight: var(--font-weight-regular);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-relaxed);
}

/* ========================================
   4. 대표원장 책임진료
   ======================================== */
.responsible-care {
  background: #0d1f36;
  text-align: center;
  padding-bottom: 0;
}

.responsible-care__photo {
  width: 100%;
  overflow: hidden;
}

.responsible-care__photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.responsible-care__text {
  background: rgba(8, 22, 48, 0.9);
  width: 100%;
  padding: 50px 20px 55px;
}

.responsible-care__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  color: white;
  margin-bottom: var(--space-md);
}

.responsible-care__sub {
  font-size: var(--font-hero-subtitle);
  font-weight: var(--font-weight-semibold);
  color: var(--color-accent);
  margin-bottom: var(--space-xl);
}

.responsible-care__desc {
  font-size: var(--font-section-subtitle);
  font-weight: var(--font-weight-regular);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--line-height-relaxed);
}

/* ========================================
   5. 야간진료
   ======================================== */
.night-care {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.night-care__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.night-care__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 20, 35, 0.75);
}

.night-care__content {
  position: relative;
  z-index: 2;
}

.night-care__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  color: white;
  margin-bottom: var(--space-lg);
}

.night-care__desc {
  font-size: var(--font-section-subtitle);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--line-height-relaxed);
}

/* ========================================
   6. ORTHODONTICS SECTION
   ======================================== */
.orthodontics {
  background: linear-gradient(180deg, #0a1628 0%, #122a4a 30%, #1a3d6e 60%, #1e4f8a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.orthodontics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(77, 184, 232, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.orthodontics__header {
  position: relative;
  z-index: 2;
  padding: 70px 20px 20px;
}

.orthodontics__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  color: white;
  letter-spacing: -0.02em;
}

.orthodontics__title .highlight {
  background: linear-gradient(90deg, #4db8e8, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orthodontics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 70px;
  position: relative;
  z-index: 2;
}

.ortho-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.ortho-card__hex {
  width: clamp(100px, 10vw, 150px);
  height: clamp(100px, 10vw, 150px);
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ortho-card__hex::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(77, 184, 232, 0.15), transparent 70%);
  pointer-events: none;
}

.ortho-card__hex:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.08);
  border-color: rgba(77, 184, 232, 0.5);
  box-shadow: 0 8px 30px rgba(77, 184, 232, 0.2);
}

.ortho-card__hex svg {
  width: 60%;
  height: 60%;
}

.ortho-card__label {
  font-size: clamp(0.875rem, 0.7rem + 0.8vw, 1.25rem);
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  text-align: center;
}

/* ========================================
   6. IMPLANT SECTION
   ======================================== */
.implant {
  padding: var(--section-padding-y) 0;
  background: linear-gradient(180deg, #163d6a 0%, #1a4a7a 50%, #1e5588 100%);
  color: var(--color-text-white);
}

.implant__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  color: white;
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.implant__title .highlight {
  background: linear-gradient(90deg, #4db8e8, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.implant__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.implant__card {
  background: rgba(10, 25, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.implant__card-text {
  padding: 30px 24px;
  text-align: center;
}

.implant__card-sub {
  font-size: var(--font-body-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
}

.implant__card-title {
  font-size: var(--font-section-subtitle);
  font-weight: var(--font-weight-bold);
  color: white;
}

.implant__card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.implant__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.implant__card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--font-body-sm);
  background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   7. CLINIC INFO (치과 소개 배너)
   ======================================== */
.clinic-info {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

.clinic-info__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
}

.clinic-info__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 50, 0.7);
}

.clinic-info__content {
  position: relative;
  z-index: 2;
}

.clinic-info__sub {
  font-size: var(--font-section-subtitle);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
}

.clinic-info__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  color: white;
  margin-bottom: var(--space-3xl);
}

.clinic-info__icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.clinic-info__icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.clinic-info__icon-hex {
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transform: rotate(0deg);
  transition: all var(--transition-normal);
}

.clinic-info__icon-hex svg {
  width: 96px;
  height: 96px;
}

.clinic-info__icon-hex:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.05);
}

.clinic-info__icon-label {
  font-size: 1.35rem;
  font-weight: var(--font-weight-bold);
  color: white;
}

/* ========================================
   8. DOCTORS SECTION
   ======================================== */
.doctors {
  padding: var(--section-padding-y) 0;
  background: linear-gradient(180deg, #0a2d4e 0%, #0d2240 50%, #0b1a30 100%);
  color: var(--color-text-white);
}

.doctors__intro {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.doctors__sub {
  font-size: var(--font-section-subtitle);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.doctors__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  color: white;
}

.doctors__title .highlight {
  color: #4db8e8;
}

.doctors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.doctor-card {
  text-align: center;
}

.doctor-card__photo {
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.doctor-card__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.doctor-card__credentials {
  list-style: none;
  text-align: left;
}

.doctor-card__credentials li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  font-size: var(--font-body-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--line-height-relaxed);
}

.doctor-card__credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #4db8e8;
  border-radius: 50%;
}

/* ========================================
   9. HOURS SECTION
   ======================================== */
.hours {
  padding: var(--section-padding-y) 0;
  background: linear-gradient(180deg, #0b1a30 0%, #0e3a62 50%, #1a5a8a 100%);
  color: var(--color-text-white);
}

.hours__title {
  font-size: var(--font-hero-title);
  font-weight: var(--font-weight-extrabold);
  color: #4db8e8;
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.hours__rows {
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.hours__row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hours__row:last-child {
  border-bottom: none;
}

.hours__day {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: white;
  min-width: 180px;
  text-align: right;
}

.hours__time {
  font-size: 2rem;
  font-weight: var(--font-weight-medium);
  color: rgba(255, 255, 255, 0.8);
  min-width: 340px;
  text-align: left;
}

.hours__photo {
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hours__photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   10. LOCATION SECTION
   ======================================== */
.location {
  padding: var(--section-padding-y) 0;
  background: linear-gradient(180deg, #1a5a8a 0%, #1e6090 50%, #1a4a78 100%);
  color: var(--color-text-white);
}

.location__map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.location__map iframe,
.location__map #naver-map {
  width: 100%;
  height: 100%;
  border: none;
}

.location__info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.location__info-item {
  text-align: center;
}

.location__info-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--color-text-white);
  font-size: 1.25rem;
}

.location__info-label {
  font-size: var(--font-body);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
}

.location__info-value {
  font-size: var(--font-section-subtitle);
  font-weight: var(--font-weight-bold);
  color: white;
  line-height: var(--line-height-normal);
}

.location__info-value a {
  color: white;
}

/* ========================================
   11. FOOTER
   ======================================== */
.footer {
  background: #061220;
  color: var(--color-text-white);
  padding: var(--space-xl) 0;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: #4db8e8;
}

.footer__phone {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: white;
}

.footer__address-main {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: #4db8e8;
}

.footer__naver {
  display: inline-block;
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  color: white;
  background: linear-gradient(180deg, #04d862, #03b350);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.footer__naver:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(4, 216, 98, 0.4);
}

.footer__address-main span {
  font-size: var(--font-body);
  color: white;
  line-height: var(--line-height-normal);
  white-space: nowrap;
}

.footer__bottom {
  text-align: center;
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--line-height-relaxed);
}


/* ========================================
   SIDE QUICK MENU (사이드 퀵메뉴)
   ======================================== */
.side-menu {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 998;
  display: flex;
  flex-direction: column;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
}

.side-menu__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}

.side-menu__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.side-menu__item:last-child::after {
  display: none;
}

.side-menu__item:hover {
  width: 110px;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.side-menu__icon {
  font-size: 2rem;
  font-weight: var(--font-weight-extrabold);
  margin-bottom: 8px;
  line-height: 1;
}

.side-menu__icon-svg {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.side-menu__label {
  font-size: 0.875rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.side-menu__item--naver {
  background: linear-gradient(180deg, #04d862, #03b350);
  color: white;
}

.side-menu__item--blog {
  background: linear-gradient(180deg, #03c75a, #02a84c);
  color: white;
}

.side-menu__item--insta {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
}

.side-menu__item--kakao {
  background: linear-gradient(180deg, #FEE500, #f0d800);
  color: #3C1E1E;
}

.side-menu__item--kakao .side-menu__label {
  text-shadow: none;
}

.side-menu__item--phone {
  background: linear-gradient(180deg, #1B6DB2, #0E4A7A);
  color: white;
  animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: -4px 0 20px rgba(27, 109, 178, 0.5); }
}

/* ========================================
   POPUP MODAL (팝업)
   ======================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-overlay.hidden {
  display: none;
}

.popup {
  background: linear-gradient(180deg, #0a1628, #1a3d6e);
  border-radius: var(--radius-xl);
  width: 420px;
  max-width: 90vw;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.popup__header {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  font-size: var(--font-caption);
  color: rgba(255, 255, 255, 0.5);
}

.popup__body {
  padding: 40px 30px;
  text-align: center;
}

.popup__title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-extrabold);
  color: white;
  margin-bottom: var(--space-md);
}

.popup__subtitle {
  font-size: var(--font-section-subtitle);
  font-weight: var(--font-weight-bold);
  color: #4db8e8;
  margin-bottom: var(--space-xl);
  padding: 10px 30px;
  border: 2px solid #4db8e8;
  border-radius: var(--radius-full);
  display: inline-block;
}

.popup__desc {
  font-size: var(--font-body);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--line-height-relaxed);
}

.popup__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.2);
}

.popup__check {
  font-size: var(--font-small);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.popup__check input {
  cursor: pointer;
}

.popup__close {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 6px 20px;
  border-radius: var(--radius-sm);
  font-size: var(--font-caption);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.popup__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Image placeholder styles */
.placeholder-img {
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-small);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
}
