/* ==========================================================================
   S&C ACADEMY (에스앤씨학원) - 공식 홈페이지 스타일시트
   모바일 퍼스트, 깔끔하고 신뢰감 있는 프리미엄 교육기관 디자인
   ========================================================================== */

/* --- CSS 변수 정의 (컬러 팔레트 및 시스템 토큰) --- */
:root {
  --font-base: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  
  /* 메인 색상 */
  --color-primary: #0f172a;      /* 딥 네이비 (주조색) */
  --color-primary-light: #1e293b;
  --color-brand-blue: #1e3a8a;   /* 클래식 블루 */
  --color-accent-blue: #2563eb;  /* 포인트 로열 블루 */
  --color-accent-hover: #1d4ed8;
  --color-accent-subtle: #eff6ff;/* 연한 블루 배경 */
  --color-accent-gold: #b45309;  /* 은은한 골드/앰버 포인트 */

  /* 배경색 */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --bg-hero: radial-gradient(100% 100% at 50% 0%, #ffffff 0%, #f1f5f9 100%);
  
  /* 텍스트 색상 */
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-white: #ffffff;

  /* 테두리 및 라인 */
  --border-subtle: #e2e8f0;
  --border-focus: #3b82f6;

  /* 그림자 */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 24px -4px rgba(15, 23, 42, 0.12);

  /* 헤더 높이 & 레이아웃 */
  --header-height: 72px;
  --container-max: 1140px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* 트랜지션 */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* --- 기본 리셋 및 글로벌 세팅 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-base);
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  word-break: keep-all;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- 공통 레이아웃 --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding: 72px 0;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent-blue);
  background-color: var(--color-accent-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .section-subtitle {
    font-size: 1.125rem;
  }
}

/* --- 버튼 스타일 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent-blue);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-title);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-card-alt);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-blog {
  background: linear-gradient(135deg, #03c75a 0%, #02b04f 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(3, 199, 90, 0.28);
}

.btn-blog:hover {
  background: linear-gradient(135deg, #02b04f 0%, #029944 100%);
  box-shadow: 0 6px 20px rgba(3, 199, 90, 0.38);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   상단 네비게이션 헤더
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header-logo-img {
    width: 44px;
    height: 44px;
  }
}

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

.logo-en {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  line-height: 1.1;
}

.logo-kr {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent-blue);
  line-height: 1;
}

/* 데스크톱 네비게이션 */
.site-nav {
  display: none;
}

@media (min-width: 880px) {
  .site-nav {
    display: block;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-body);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
  }

  .nav-link:hover {
    color: var(--color-accent-blue);
    background-color: var(--color-accent-subtle);
  }

  .nav-btn {
    background-color: var(--color-primary);
    color: var(--text-white) !important;
    padding: 8px 18px;
    margin-left: 8px;
  }

  .nav-btn:hover {
    background-color: var(--color-brand-blue) !important;
  }
}

/* 모바일 햄버거 버튼 */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  z-index: 1001;
}

@media (min-width: 880px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle .bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 4px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* 모바일 메뉴 오버레이 드롭다운 */
@media (max-width: 879px) {
  .site-nav {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px 24px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nav-link {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-title);
  }

  .nav-link:active,
  .nav-link:hover {
    background-color: var(--bg-card-alt);
    color: var(--color-accent-blue);
  }

  .nav-btn {
    background-color: var(--color-primary);
    color: var(--text-white) !important;
    text-align: center;
    margin-top: 8px;
  }
}

/* ==========================================================================
   1. 첫 화면 (Hero Section)
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--bg-hero);
  padding: 60px 0 64px;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .hero-section {
    padding: 96px 0 88px;
  }
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.hero-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.08));
  transition: transform var(--transition-fast);
}

.hero-logo-img:hover {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .hero-logo-wrap {
    margin-bottom: 24px;
  }

  .hero-logo-img {
    width: 92px;
    height: 92px;
  }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.hero-en-slogan {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-accent-blue);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero-en-slogan {
    font-size: 1.75rem;
  }
}

.hero-kr-slogan {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-kr-slogan {
    font-size: 3.5rem;
  }
}

.hero-message {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-brand-blue);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .hero-message {
    font-size: 1.45rem;
  }
}

.hero-description {
  max-width: 580px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 380px;
  gap: 12px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    max-width: none;
    justify-content: center;
  }
}

/* 히어로 4대 가치 요약 바 */
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 760px;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .hero-pillars {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
  }
}

.pillar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 10px;
}

.pillar-num {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--color-accent-blue);
  background-color: var(--color-accent-subtle);
  padding: 2px 7px;
  border-radius: 4px;
}

.pillar-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-title);
}

.pillar-divider {
  display: none;
}

@media (min-width: 768px) {
  .pillar-divider {
    display: block;
    width: 1px;
    height: 24px;
    background-color: var(--border-subtle);
  }
}

/* ==========================================================================
   2. 교육철학 (Philosophy Section)
   ========================================================================== */
.philosophy-section {
  background-color: #ffffff;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.philosophy-card {
  position: relative;
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-step {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-blue);
  margin-bottom: 6px;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* 교육철학 네이버 블로그 CTA 배너 */
.philosophy-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .philosophy-cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
  }
}

.banner-content {
  max-width: 640px;
}

.banner-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .banner-title {
    font-size: 1.45rem;
  }
}

.banner-desc {
  font-size: 0.9375rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.banner-action {
  width: 100%;
}

@media (min-width: 768px) {
  .banner-action {
    width: auto;
    flex-shrink: 0;
  }
}

.banner-action .btn {
  width: 100%;
}

@media (min-width: 768px) {
  .banner-action .btn {
    width: auto;
  }
}

/* ==========================================================================
   3. 교육 프로그램 (Programs Section)
   ========================================================================== */
.programs-section {
  background-color: var(--bg-body);
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 680px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: transparent;
  transition: background-color var(--transition-fast);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.program-card:hover::before {
  background-color: var(--color-accent-blue);
}

.program-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  min-height: 60px;
}

.program-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 56px;
  max-width: 180px;
}

.program-brand-logo {
  max-height: 54px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.program-num {
  font-size: 1.125rem;
  font-weight: 900;
  color: #cbd5e1;
  flex-shrink: 0;
}

.program-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.program-divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-subtle);
  margin-bottom: 16px;
}

.program-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.65;
  word-break: keep-all;
}

/* ==========================================================================
   4. 학원 소개 (About Section)
   ========================================================================== */
.about-section {
  background-color: #ffffff;
}

.about-card-box {
  background-color: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}

@media (min-width: 768px) {
  .about-card-box {
    padding: 48px 48px;
  }
}

.about-quote {
  position: relative;
  margin-bottom: 24px;
}

.quote-mark {
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--color-accent-blue);
  opacity: 0.4;
  display: block;
  margin-bottom: -10px;
}

.quote-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .quote-title {
    font-size: 1.75rem;
  }
}

.about-paragraph {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .about-paragraph {
    font-size: 1.0625rem;
  }
}

.about-key-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 768px) {
  .about-key-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.point-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: #ffffff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.point-number {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-accent-blue);
  background-color: var(--color-accent-subtle);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.point-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 4px;
}

.point-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   5. 상담 및 오시는 길 (Contact & Location Section)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-body);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
  }
}

/* 안내 정보 카드 */
.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .contact-info-card {
    padding: 36px 32px;
  }
}

.info-card-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 6px;
}

.info-card-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-title);
}

.info-sub-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand-blue);
  margin-top: 2px;
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent-blue);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.tel-link:hover .info-value {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

.tel-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--color-accent-blue);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  line-height: 1.2;
  transition: background-color var(--transition-fast);
}

.tel-link:hover .tel-badge {
  background-color: var(--color-accent-hover);
}

.info-placeholder-note {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-top: 2px;
}

.info-blog-link {
  background-color: #f8fafc;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-body);
}

.link-inline {
  color: var(--color-accent-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.link-inline:hover {
  text-decoration: underline;
}

/* 지도 영역 플레이스홀더 카드 */
.map-placeholder-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  background: radial-gradient(circle at 50% 30%, #eff6ff 0%, #ffffff 80%);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.map-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-blue);
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.map-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 12px;
}

.map-pin-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.map-area-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 10px;
}

.map-area-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn-naver-map {
  margin-top: 20px;
  background: linear-gradient(135deg, #03c75a 0%, #02b04f 100%);
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(3, 199, 90, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.btn-naver-map:hover {
  background: linear-gradient(135deg, #02b04f 0%, #029944 100%);
  box-shadow: 0 6px 18px rgba(3, 199, 90, 0.35);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.map-card-footer {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.map-note {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
}

/* ==========================================================================
   하단 푸터 (Footer)
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary);
  color: #94a3b8;
  padding: 56px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.footer-slogan {
  font-size: 0.9375rem;
  color: #cbd5e1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.footer-nav a {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-location {
  color: #cbd5e1;
}

.footer-copy {
  color: #64748b;
}

/* ==========================================================================
   맨 위로 가기 버튼 (Back to top)
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-accent-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
