/*
Theme Name: 반올림드라이빙스쿨
Theme URI: https://banol-driving.com
Author: Antigravity
Author URI: https://banol-driving.com
Description: 반올림드라이빙스쿨 공식 홈페이지 테마 - 운전연수 전문
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: banol-driving
Tags: one-page, business, driving-school
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

/* ============================
   CSS RESET & BASE
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #30C5D2;
  --primary-dark: #22a9b5;
  --primary-light: #e6f7f8;
  --yellow: #F1D32A;
  --yellow-dark: #d4b800;
  --red: #CE1B28;
  --black: #111111;
  --dark: #333333;
  --gray: #666666;
  --light-gray: #f8f9fa;
  --border: #e8e8e8;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.2s ease; /* 전체 기본 트랜지션 단축 */
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
  padding-bottom: 64px; /* 플로팅 바 높이 */
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title .label {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  color: var(--primary); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--primary-light);
  padding: 5px 16px; border-radius: 30px;
}
.section-title h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; color: var(--black); line-height: 1.3; }
.section-title p { color: var(--gray); margin-top: 12px; font-size: 15px; }

/* ============================
   HEADER
   ============================ */
/* TOP BAR */
.site-top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  height: 34px;
  display: flex;
  align-items: center;
}
.site-top-bar .container {
  max-width: 1400px; /* 헤더와 동일하게 너비 확장 */
  padding: 0 30px;    /* 헤더 패딩과 동기화하여 수직 정렬 맞춤 */
}
.top-bar-content {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.top-bar-content .sep { opacity: 0.5; }
.top-bar-content a:hover { text-decoration: underline; }

/* HEADER */
#site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; padding: 0 30px;
  max-width: 1400px; margin: 0 auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 32px;
  line-height: 1;
}
.logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
}
.logo-text .text-mint {
  color: #30C5D2;
}
.logo-text .text-black {
  color: #222222;
}

/* NAV */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}
.site-nav ul li {
  position: relative;
}
.site-nav ul li + li::before {
  content: '|';
  color: #ddd;
  font-size: 12px;
  margin: 0 5px;
}
.site-nav ul li a {
  display: inline-block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #444;
  transition: var(--transition);
}
.site-nav ul li a:hover,
.site-nav ul li a.active {
  color: var(--primary);
}

.section-title.area-title {
  text-align: left;
}
.line2 {
  display: inline-block;
  margin-left: 8px;
}
.header-buttons { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn-kakao {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: #FFE812; color: #3C1E1E;
  font-size: 14px; font-weight: 900; border-radius: 50px;
  transition: var(--transition); white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 232, 18, 0.2);
}
.btn-kakao:hover { background: #F7D600; transform: translateY(-3px); color: #3C1E1E; box-shadow: 0 8px 25px rgba(255, 232, 18, 0.4); }

.btn-phone {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: #000000; color: #FFFFFF;
  font-size: 14px; font-weight: 900; border-radius: 50px;
  transition: var(--transition); white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-phone:hover { background: #222222; transform: translateY(-3px); color: #FFFFFF; box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

.btn-online {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: #30C5D2; color: #FFFFFF;
  font-size: 14px; font-weight: 900; border-radius: 50px;
  transition: var(--transition); white-space: nowrap;
  box-shadow: 0 4px 15px rgba(48, 197, 210, 0.3);
}
.btn-online:hover { background: #28b0bd; transform: translateY(-3px); color: #FFFFFF; box-shadow: 0 8px 25px rgba(48, 197, 210, 0.5); }

.btn-board {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: #666666; color: #FFFFFF;
  font-size: 14px; font-weight: 700; border-radius: 50px;
  transition: var(--transition); white-space: nowrap;
}
.btn-board:hover { background: #444444; transform: translateY(-3px); color: #FFFFFF; }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }

/* ============================
   HERO SECTION (Premium v2 - Sharp & Overlap)
   ============================ */
#hero { 
  margin-top: 0;
  position: relative;
  background: #fff;
}

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 이미지 비율에 맞춰 유동적으로 조절 */
  max-height: 80vh; /* 너무 길어지지 않게 상한선 설정 */
  min-height: 400px; /* 너무 작아지지 않게 하한선 설정 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover !important;
  background-position: center center !important; /* 위아래 균형 있게 배치 */
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  /* 그라데이션 대신 아주 얇은 차광막만 적용 (이미지 선명도 유지) */
}

.hero-visual-content {
  position: relative;
  z-index: 10;
  color: #fff;
  padding: 0 20px;
  margin-bottom: 80px; /* 배지 공간 확보를 위해 위로 올림 */
}

.hero-visual-content h1 {
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -3px;
  line-height: 1.1;
}

.hero-visual-content .hero-desc {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  opacity: 1;
}

/* 3대 포인트 섹션 (이미지에 반쯤 걸치는 오버랩 디자인) */
.hero-points-wrap {
  position: relative;
  margin-top: -120px; /* 히어로 이미지 위로 배치 */
  z-index: 20;
  padding-bottom: 50px;
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.point-item {
  text-align: center;
  background: transparent; /* 배경 투명하게 */
}

.point-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 15px solid #30C5D2;
  margin: 0 auto 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #fff; /* 원 내부는 화이트로 선명하게 */
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  overflow: hidden; /* 내부 이미지 사각형 잘림 방지 */
}

.point-item:hover .point-circle {
  transform: translateY(-10px);
}

.point-num {
  position: absolute;
  top: 15px;
  left: 25px;
  font-size: 20px;
  font-weight: 900;
  color: #30C5D2;
  opacity: 0.8;
  z-index: 10;
}

.point-icon-box {
  width: 130px; /* 크기 살짝 조정 */
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}
.point-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.point-info h3 {
  font-size: 26px;
  font-weight: 900;
  color: #222;
  margin-bottom: 8px;
}

.point-info p {
  font-size: 16px;
  color: #777;
  line-height: 1.4;
  font-weight: 500;
}

/* STATS BAR (Minimal White 스타일) */
.stats-bar {
  background: #fff;
  padding: 50px 0;
  border-bottom: 1px solid #f0f0f0;
}
.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-num {
  font-size: 52px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1.5px;
  line-height: 1;
}
.stat-unit {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 18px;
  color: #333;
  font-weight: 800;
  margin-top: 12px;
  letter-spacing: -0.5px;
}
.hero-slide-content .subtitle {
  font-size: 14px; font-weight: 400; letter-spacing: 3px;
  margin-bottom: 16px; opacity: 0.85; text-transform: uppercase;
}
.hero-slide-content h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.hero-slide-content h1 em { font-style: normal; color: var(--yellow); }
.hero-slide-content p { font-size: 16px; margin-bottom: 30px; opacity: 0.9; line-height: 1.7; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--primary); color: #fff;
  font-size: 15px; font-weight: 700; border-radius: 30px; transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); color: #fff; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: rgba(255,255,255,0.15); color: #fff;
  font-size: 15px; font-weight: 700; border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.5); backdrop-filter: blur(5px); transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); border-color: #fff; color: #fff; }

/* HERO BADGES */
.hero-badges {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px;
}
.hero-badge {
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700; text-align: center; line-height: 1.3; font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-badge.badge-1 { background: var(--primary); color: #fff; }
.hero-badge.badge-2 { background: #5cb85c; color: #fff; }
.hero-badge.badge-3 { background: #e8944a; color: #fff; }
.hero-badge .badge-num { font-size: 22px; font-weight: 900; display: block; margin-bottom: 2px; }

/* SLIDER DOTS */
.slider-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: all 0.25s ease; border: none;
}
.slider-dot.active { background: #fff; width: 28px; border-radius: 5px; }

/* ============================
   STATS BAR
   ============================ */
.stats-bar { background: var(--primary); padding: 24px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-item { padding: 10px 20px; position: relative; color: #fff; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 20%; height: 60%;
  width: 1px; background: rgba(255,255,255,0.3);
}
.stat-item .stat-num { display: block; font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1; margin-bottom: 6px; }
.stat-item .stat-label { font-size: 13px; opacity: 0.85; }

/* ============================
   SECTION: 연수지역 (#map)
   ============================ */
#map { background: var(--light-gray); }
.map-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.map-text h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; color: var(--black); line-height: 1.3; margin-bottom: 16px; }
.map-text h2 .line2 { display: block; }
.map-cta-buttons { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.map-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.map-stat-card {
  background: #fff; border-radius: var(--radius); padding: 20px;
  text-align: center; box-shadow: var(--shadow);
}
.map-stat-card .num { font-size: 28px; font-weight: 900; color: var(--primary); display: block; }
.map-stat-card .label { font-size: 12px; color: var(--gray); margin-top: 4px; }
.map-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); }

.region-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.region-tag {
  padding: 8px 16px; background: #fff;
  border: 2px solid var(--primary); color: var(--primary);
  border-radius: 30px; font-size: 13px; font-weight: 600;
  transition: var(--transition); cursor: default;
}
.region-tag:hover { background: var(--primary); color: #fff; }

/* ============================
   SECTION: 추천이유 (#ceo)
   ============================ */
#ceo { background: #fff; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.advantage-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 30px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative; overflow: hidden;
}
.advantage-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--primary);
  transform: scaleX(0); transition: transform 0.2s ease;
}
.advantage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.advantage-card:hover::before { transform: scaleX(1); }

.advantage-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 32px;
}
.advantage-card h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 14px; line-height: 1.4; }
.advantage-card p { font-size: 14px; color: var(--gray); line-height: 1.8; }

/* ============================
   SECTION: 연수과정
   ============================ */
#course { background: var(--light-gray); }
.course-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.course-tab {
  padding: 10px 28px; border-radius: 30px; background: #fff; color: var(--gray);
  font-size: 14px; font-weight: 600; cursor: pointer;
  border: 2px solid var(--border); transition: var(--transition);
}
.course-tab.active, .course-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.course-content { display: none; }
.course-content.active { display: block; }
.course-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

.course-step {
  background: #fff; border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.step-day {
  display: inline-block; background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 14px;
  border-radius: 20px; margin-bottom: 16px; letter-spacing: 1px;
}
.course-step h3 { font-size: 17px; font-weight: 700; color: var(--black); margin-bottom: 12px; }
.course-step ul li {
  font-size: 14px; color: var(--gray);
  padding: 5px 0 5px 18px; position: relative;
  border-bottom: 1px dashed var(--border);
}
.course-step ul li:last-child { border-bottom: none; }
.course-step ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 12px; }

/* ============================
   SECTION: 연수비용 (#price)
   ============================ */
#price { background: #fff; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.price-card {
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.price-card.featured { box-shadow: 0 8px 40px rgba(48,197,210,0.2); border: 2px solid var(--primary); }
.price-card .featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 20px; border-radius: 20px; white-space: nowrap;
}
.price-card.bg-mint { background: #e6f7f8; }
.price-card.bg-purple { background: #f3f0ff; }
.price-card.bg-peach { background: #fff4f0; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.price-card-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.price-category { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 1px; margin-bottom: 8px; }
.price-card h3 { font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 20px; }

.price-table { border-collapse: collapse; width: 100%; background: rgba(255,255,255,0.7); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.price-table tr td { padding: 11px 14px; font-size: 13px; border-bottom: 1px solid rgba(0,0,0,0.05); }
.price-table tr:last-child td { border-bottom: none; }
.price-table td:first-child { color: var(--gray); font-weight: 500; }
.price-table td:last-child { font-weight: 700; color: var(--black); text-align: right; }

.price-highlight { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }

.btn-price {
  display: block; width: 100%; padding: 13px;
  background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 700; border-radius: 30px;
  transition: var(--transition); border: none; cursor: pointer; text-align: center;
}
.btn-price:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff; }

/* ============================
   SECTION: 연수후기
   ============================ */
#review { background: var(--light-gray); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }

/* 리뷰 카드 - 이미지 + 텍스트 구조 */
.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* 이미지 영역 */
.review-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--light-gray);
  position: relative;
}
.review-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  display: block;
}
.review-card:hover .review-card-img img {
  transform: scale(1.05);
}

/* 텍스트 영역 */
.review-card-body {
  padding: 22px 24px 20px;
}

.review-stars { color: #f1c40f; font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.review-card h3 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-card p { font-size: 13px; color: var(--gray); line-height: 1.7; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; }
.review-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.review-author { font-size: 13px; color: var(--gray); font-weight: 500; }
.review-views { font-size: 12px; color: #aaa; }

.review-more-btn { text-align: center; margin-top: 10px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; border: 2px solid var(--primary); color: var(--primary);
  font-size: 14px; font-weight: 700; border-radius: 30px; transition: var(--transition);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ============================
   FOOTER
   ============================ */
/* ============================
   FOOTER (Professional Enterprise 스타일)
   ============================ */
#site-footer {
  background: #fdfdfd;
  padding: 80px 0 60px;
  border-top: 1px solid #eee;
  color: #666;
}

/* 주의사항 섹션 (사이렌) */
.footer-notice-section {
  text-align: center;
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid #eee;
}
.notice-icon {
  width: 120px;
  margin: 0 auto 24px;
}
.notice-icon img {
  width: 100%;
  height: auto;
}
.notice-title {
  font-size: 28px;
  font-weight: 800;
  color: #222;
  line-height: 1.4;
  letter-spacing: -1px;
}
.notice-title .highlight {
  color: #CE1B28; /* 경고 컬러 */
}
.notice-desc {
  font-size: 16px;
  color: #888;
  margin-top: 15px;
  font-weight: 500;
}

/* 메인 푸터 영역 (중앙 정렬 레이아웃) */
.footer-main-row {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-center-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-nav ul li a {
  font-size: 15px;
  font-weight: 800;
  color: #333;
}
.footer-nav ul li a:hover {
  color: var(--primary);
}

.footer-company-info {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-company-info p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.footer-company-info .sep {
  color: #eee;
}
.footer-company-info .copyright {
  margin-top: 12px;
  color: #ccc;
  font-weight: 500;
}

@media (max-width: 992px) {
  .footer-main-row {
    flex-direction: column;
  }
  .footer-contact-box {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-top-row { flex-direction: column; gap: 30px; }
  .footer-contact-box { width: 100%; }
}

/* ============================
   FLOATING PILLS (하단 가운데 고정)
   ============================ */
.floating-pills-wrap {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  pointer-events: none; /* 컨테이너 자체는 클릭 무시 */
}

.fbb-pill {
  pointer-events: auto; /* 버튼만 클릭 가능 */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
}

.fbb-pill:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.fbb-pill .fbb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px; /* 폰트 아이콘 크기 통일 */
  margin-right: 8px;
}

.fbb-kakao .fbb-icon { font-size: 22px; } /* 카톡 아이콘은 약간 더 크게 */
.fbb-phone .fbb-icon { font-size: 18px; }

.fbb-pill .fbb-label {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* 카톡: 노랑 배경 + 갈색 텍스트 */
.fbb-kakao {
  background: #FFE812;
  color: #3C1E1E;
}

/* 전화: 검정 배경 + 흰색 텍스트 */
.fbb-phone {
  background: #000000;
  color: #FFFFFF;
}

/* 온라인상담: 민트 배경 + 흰색 텍스트 (눈에 선명하게) */
.fbb-online {
  background: #30C5D2;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(48, 197, 210, 0.4);
}

/* 모든 버튼 기본 호버 애니메이션 추가 */
.btn-primary, .btn-secondary, .btn-kakao, .btn-phone, .btn-online, .btn-board, .btn-price, .btn-outline {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.btn-primary:hover, .btn-secondary:hover, .btn-kakao:hover, .btn-phone:hover, .btn-price:hover, .btn-outline:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ============================
   PAGE BANNER
   ============================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0 60px; margin-top: 70px; text-align: center; color: #fff;
}
.page-banner h1 { font-size: clamp(24px, 4vw, 40px); font-weight: 900; margin-bottom: 10px; }
.page-banner p { font-size: 15px; opacity: 0.85; }

/* ============================
   BOARD
   ============================ */
.board-section { padding: 60px 0; background: var(--light-gray); min-height: 60vh; }
.board-list { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.board-item { border-bottom: 1px solid var(--border); }
.board-item:last-child { border-bottom: none; }
.board-item a {
  display: flex; align-items: center; gap: 20px; padding: 20px 30px;
  color: var(--dark); transition: background 0.15s ease;
}
.board-item a:hover { background: var(--primary-light); }
.board-num { width: 40px; text-align: center; font-size: 13px; color: #aaa; flex-shrink: 0; }
.board-title { flex: 1; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-author { font-size: 13px; color: var(--gray); width: 80px; text-align: center; flex-shrink: 0; }
.board-views { font-size: 13px; color: #aaa; width: 80px; text-align: right; flex-shrink: 0; }
.board-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.board-pagination a, .board-pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--border); background: #fff; color: var(--gray); transition: var(--transition);
}
.board-pagination a:hover, .board-pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================
   COURSE PAGE
   ============================ */
.course-section { padding: 60px 0; background: var(--light-gray); }
.course-type { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.course-type-header { background: var(--primary); color: #fff; padding: 20px 30px; }
.course-type-header h2 { font-size: 20px; font-weight: 700; }
.course-type-body { padding: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.course-day-card { background: var(--light-gray); border-radius: var(--radius); padding: 24px; }
.course-day-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 16px; border-radius: 20px; margin-bottom: 16px; }
.course-day-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: var(--black); }
.course-day-card ul li { font-size: 13px; color: var(--gray); padding: 4px 0 4px 16px; position: relative; border-bottom: 1px dashed var(--border); }
.course-day-card ul li:last-child { border-bottom: none; }
.course-day-card ul li::before { content: '🔹'; position: absolute; left: 0; font-size: 10px; top: 6px; }

/* ============================
   MOBILE MENU
   ============================ */
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(0,0,0,0.5); }
.mobile-nav-inner {
  position: absolute; top: 0; left: 0; width: 280px; height: 100%;
  background: #fff; padding: 24px; overflow-y: auto;
  transform: translateX(-100%); transition: transform 0.25s ease;
}
.mobile-nav.open .mobile-nav-inner { transform: translateX(0); }
.mobile-nav.open { display: block; }
.mobile-nav-close { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.mobile-nav-close button { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--dark); }
.mobile-nav ul li a { display: flex; align-items: center; padding: 14px 10px; font-size: 15px; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--border); }
.mobile-nav ul li a:hover { color: var(--primary); }
.mobile-nav-buttons { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .header-buttons { display: none; }
  .menu-toggle { display: flex; }
  
  /* Hero Mobile */
  .hero-visual { 
    min-height: 450px; 
    aspect-ratio: auto; 
    height: 70vh;
  }
  .hero-visual-content { margin-bottom: 120px; }
  .hero-visual-content h1 { font-size: 36px; letter-spacing: -1.5px; }
  .hero-visual-content .hero-desc { font-size: 16px; word-break: keep-all; }
  
  .hero-points-wrap { margin-top: -100px; padding-bottom: 40px; }
  .points-grid { grid-template-columns: 1fr; gap: 20px; padding: 0 15px; }
  
  .point-circle { 
    width: 140px; 
    height: 140px; 
    border-width: 8px; 
    margin-bottom: 15px;
  }
  .point-icon-box { width: 80px; height: 80px; }
  .point-num { top: 8px; left: 15px; font-size: 16px; }
  .point-info h3 { font-size: 20px; }
  .point-info p { font-size: 14px; }
  
  /* Stats Mobile */
  .stats-grid { gap: 20px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 14px; }
  
  /* Hide sections for mobile */
  .stats-bar, .region-tags { display: none !important; }
  
  /* Section Spacing */
  .section-padding { padding: 60px 0; }
  
  /* Area Section Mobile */
  #area .section-title.area-title { text-align: center !important; }
  #area .section-title h2 { font-size: 26px; line-height: 1.4; word-break: keep-all; }
  #area .line2 { display: block; margin-left: 0; margin-top: 5px; }
  .region-tags { justify-content: center; }
  .map-image { margin-top: 30px; }
  .map-cta-buttons { flex-direction: column; gap: 10px; }
  .btn-kakao, .btn-phone { width: 100%; justify-content: center; }
  
  /* Advantages Grid */
  .advantages-grid { grid-template-columns: 1fr; gap: 15px; }
  .advantage-card { padding: 30px 20px; }
  
  /* Course Tabs */
  .course-tabs { padding: 0 15px; gap: 10px; }
  .course-tab { padding: 10px 0; font-size: 15px; }
  
  /* Price Grid */
  .price-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; gap: 25px; }
  .price-card { padding: 35px 25px; }
  
  /* FAQ Mobile */
  .faq-header-content h2 { font-size: 26px !important; }
  .faq-acc-trigger { padding: 18px 20px; }
  .faq-acc-trigger span { font-size: 15px; }
  
  /* Review Grid */
  .review-grid { grid-template-columns: 1fr; gap: 15px; }
  
  /* Footer Mobile */
  .footer-top-row { flex-direction: column; text-align: center; gap: 30px; }
  .f-logo { justify-content: center; }
  .f-sns { justify-content: center; }
  .footer-bottom { height: auto; padding: 30px 0 100px; text-align: center; } /* Floating bar space */
  
  .floating-pills-wrap { bottom: 12px; width: 96%; gap: 6px; }
  .fbb-pill { flex: 1; justify-content: center; padding: 10px 4px; gap: 4px; }
  .fbb-pill .fbb-icon { font-size: 15px; margin-right: 0; }
  .fbb-kakao .fbb-icon { font-size: 16px; }
  .fbb-phone .fbb-icon { font-size: 14px; }
  .fbb-pill .fbb-label { font-size: 13px; letter-spacing: -0.5px; }
}

@media (max-width: 480px) {
  .hero-visual-content h1 { font-size: 32px; }
  .hero-visual { height: 65vh; }
  .section-title h2 { font-size: 26px; }
  .floating-pills-wrap { width: 98%; gap: 4px; }
  .fbb-pill { padding: 9px 2px; gap: 4px; }
  .fbb-pill .fbb-label { font-size: 11px; letter-spacing: -1px; }
  .fbb-pill .fbb-icon { font-size: 13px; }
}
