@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

@font-face {
    font-family: 'BMDOHYEON';
    src: url('BMDOHYEON.ttf') format('truetype');
}

@font-face {
    font-family: 'BlackHanSans';
    src: url('BlackHanSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'HakgyoansimAllimjang';
    src: url('./HakgyoansimAllimjang-R.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HakgyoansimAllimjang';
    src: url('./HakgyoansimAllimjang-B.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   Academy - Adults-Only 1:1 English
   Hotel Snow, Clark, Philippines
   Pretendard 폰트: CDN에서 로드
   ======================================== */

/* 기본 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 언어별 폰트 설정 */
body[lang="en"] {
    font-family: 'Pretendard', sans-serif;
}

body[lang="zh"] {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

body[lang="ja"] {
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
}

body[lang="vi"] {
    font-family: 'Noto Sans', 'Arial', sans-serif;
}

body[lang="zh"] [data-i18n],
body[lang="ja"] [data-i18n],
body[lang="vi"] [data-i18n],
body[lang="en"] [data-i18n] {
    font-family: inherit;
}

:root {
    --primary: #1a5f7a;
    --primary-dark: #134b61;
    --secondary: #e63946;
    --accent: #f4a261;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --white: #ffffff;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========================================
   헤더 / 네비게이션
   ======================================== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: -0.1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20pt;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 80px !important;
    width: auto;
}

.logo-text {
    font-family: 'HakgyoansimAllimjang', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-left: 10px;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    font-family: 'HakgyoansimAllimjang', sans-serif;
    color: var(--dark);
    font-weight: 400;
    font-size: 18px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

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

/* 언어 선택기 */
.lang-selector {
    margin-left: 10px;
}

.lang-selector select {
    padding: 6px 10px;
    border: 2px solid var(--primary);
    border-radius: 5px;
    background: #fff;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.lang-selector select:hover {
    border-color: var(--secondary);
}

/* 언어별 네비게이션 폰트 크기 조절 (일본어, 베트남어) */
body[lang="ja"] .nav-links a,
body[lang="vi"] .nav-links a {
    font-size: 15px;
}

body[lang="ja"] .nav-links,
body[lang="vi"] .nav-links {
    gap: 0.7rem;
}

body[lang="en"] .logo-text {
    font-size: 28px;
    white-space: nowrap;
}

body[lang="ja"] .logo-text,
body[lang="vi"] .logo-text {
    font-size: 1.1rem;
}

.nav-cta {
    background: var(--secondary);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 5px;
}

.nav-cta:hover {
    background: #c1121f;
}

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

/* 모바일 메뉴 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
}

/* ========================================
   히어로 섹션
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('../images/hero-1on1-class-mobile.webp') center/cover;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.hero-feature svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

/* ========================================
   버튼
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   섹션 공통
   ======================================== */
section {
    padding: 100px 20px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.cartoon-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 0 10px;
}

.cartoon-item {
    text-align: center;
    flex: 0 0 calc(50% - 20px);
    max-width: 450px;
}

.cartoon-item img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.cartoon-caption {
    display: block;
    margin-top: 15px;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff !important;
    background-color: var(--secondary);
    border-radius: 8px;
    opacity: 1;
}

.detail-link {
    display: block;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.detail-link:hover {
    text-decoration: underline;
    color: var(--secondary);
}

/* 만화 모달 */
.cartoon-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.cartoon-modal .modal-content {
    position: relative;
    margin: 2% auto;
    max-width: 95%;
    max-height: 96vh;
}

.cartoon-modal .modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.cartoon-modal .modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.cartoon-modal .modal-close:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .cartoon-images {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cartoon-item {
        flex: 0 0 100%;
        max-width: 350px;
    }

    .cartoon-item img {
        height: 220px;
    }

    .cartoon-modal .modal-content {
        margin: 10% auto;
    }
}

.bg-light {
    background: var(--light);
}

.bg-primary {
    background: var(--primary);
    color: var(--white);
}

/* ========================================
   특징 카드
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.feature-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.85rem;
}

/* ========================================
   프로그램 카드
   ======================================== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-content {
    padding: 2rem;
}

.program-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.program-card .location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.program-features li {
    padding: 0.3rem 0;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.program-features li::before {
    content: '\2713';
    color: var(--secondary);
    font-weight: bold;
}

/* 4주 코스 와이드 카드 */
.program-card-wide {
    grid-column: 1 / -1;
}

.program-card-wide .program-content {
    padding: 2rem 2.5rem;
}

.program-card-wide h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

/* 커리큘럼 테이블 */
.curriculum-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.curriculum-table th,
.curriculum-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.curriculum-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.curriculum-table th:first-child {
    width: 80px;
    text-align: center;
}

.curriculum-table td:first-child {
    text-align: center;
    background: var(--light);
    font-weight: 600;
    color: var(--primary);
}

.curriculum-table tbody tr:hover {
    background: rgba(26,95,122,0.03);
}

.curriculum-table td strong {
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.grammar-range {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

/* 6주 코스 하이라이트 행 */
.curriculum-table .highlight-row {
    background: linear-gradient(135deg, rgba(244,162,97,0.1), rgba(244,162,97,0.05));
}

.curriculum-table .highlight-row:hover {
    background: linear-gradient(135deg, rgba(244,162,97,0.15), rgba(244,162,97,0.1));
}

.curriculum-table .boracay-row {
    background: linear-gradient(135deg, rgba(26,95,122,0.1), rgba(26,95,122,0.05));
}

.curriculum-table .boracay-row:hover {
    background: linear-gradient(135deg, rgba(26,95,122,0.15), rgba(26,95,122,0.1));
}

.week-new {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    margin-top: 0.3rem;
}

.week-final {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: var(--dark);
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 0.3rem;
}

.curriculum-table .final-week {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,179,0,0.1));
}

.curriculum-table .final-week:hover {
    background: linear-gradient(135deg, rgba(255,215,0,0.25), rgba(255,179,0,0.15));
}

.program-badge.complete-badge {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: var(--dark);
}

.field-training {
    display: block;
    margin-top: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: linear-gradient(135deg, var(--accent), #e8a756);
    color: var(--dark);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 5px;
}

/* ========================================
   성장 과정 타임라인
   ======================================== */
.growth-section {
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.growth-timeline {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.growth-stage {
    flex: 1;
    max-width: 280px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.growth-stage:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.growth-stage.final {
    border: 3px solid var(--secondary);
}

.growth-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.growth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.growth-stage:hover .growth-image img {
    transform: scale(1.1);
}

.growth-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.growth-badge.popular {
    background: var(--secondary);
}

.growth-badge.complete {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: var(--dark);
}

.growth-content {
    padding: 1.5rem;
}

.growth-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.growth-level {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.growth-content > p:not(.growth-level) {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.growth-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.growth-content ul li {
    padding: 0.3rem 0;
    color: var(--dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.growth-content ul li::before {
    content: '\2713';
    color: var(--secondary);
    font-weight: bold;
}

.growth-arrow {
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 10;
}

.growth-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid var(--accent);
}

.growth-stage.final .growth-arrow {
    display: none;
}

@media (max-width: 1100px) {
    .growth-timeline {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .growth-stage {
        flex: 1 1 calc(50% - 2rem);
        max-width: 350px;
    }

    .growth-arrow {
        display: none;
    }
}

@media (max-width: 600px) {
    .growth-stage {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .curriculum-table {
        font-size: 0.9rem;
    }

    .curriculum-table th,
    .curriculum-table td {
        padding: 0.75rem;
    }

    .curriculum-table th:first-child {
        width: 60px;
    }

    .program-card-wide h3 {
        font-size: 1.3rem;
    }
}

/* ========================================
   가격표
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    position: relative;
}

.pricing-card.featured {
    border: 3px solid var(--secondary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'BEST';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 0.3rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-card .subtitle {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-card .period {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--secondary);
    font-weight: bold;
}

/* ========================================
   시설 갤러리
   ======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========================================
   동영상 비교 섹션
   ======================================== */
.video-comparison-section {
    background: var(--light);
    padding: 4rem 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

.video-caption {
    padding: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
}

/* 동영상 반응형 */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-comparison-section {
        padding: 2rem 1rem;
    }

    .video-caption {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* ========================================
   일정표
   ======================================== */
.schedule-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.schedule-table th,
.schedule-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.schedule-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.schedule-table tr:nth-child(even) {
    background: var(--light);
}

.schedule-table tr:hover {
    background: rgba(26,95,122,0.05);
}

/* ========================================
   FAQ 아코디언
   ======================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--gray);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ========================================
   문의 폼
   ======================================== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: var(--dark);
}

.contact-details svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ========================================
   푸터
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 20px 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 1.5rem;
}

.footer-brand img {
    height: 60px !important;
    width: auto;
    filter: invert(0.87);
    display: block;
    margin: 0 auto 0.5rem auto;
}

.footer-brand {
    text-align: center;
}

.footer-brand h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-brand h3 span {
    color: var(--secondary);
}

.footer-brand p {
    color: #adb5bd;
    line-height: 1.5;
    font-size: 0.85rem;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #adb5bd;
    display: block;
    padding: 0.2rem 0;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 0.85rem;
}

/* ========================================
   페이지별 히어로
   ======================================== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 20px 80px;
    position: relative;
    color: var(--white);
}

.page-hero.programs {
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?w=1600') center/cover;
}

.page-hero.hotel {
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('../images/hotelsnow-frontage.webp') center/cover;
}

.page-hero.boracay {
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600') center/cover;
}

.page-hero.activities {
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1600') center/cover;
}

.page-hero.pricing {
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600') center/cover;
}

.page-hero.faq {
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1600') center/cover;
}

.page-hero.why1on1 {
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('https://images.unsplash.com/photo-1577896851231-70ef18881754?w=1600') center/cover;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   통계 섹션
   ======================================== */
.stats-section {
    background: var(--primary);
    padding: 30px 20px;
    position: relative;
    overflow: visible;
}

.stats-promo-img {
    position: absolute;
    bottom: 100%;
    height: 525px;
    width: auto;
    margin-bottom: 0;
    z-index: 10;
}

.stats-promo-left {
    left: calc(50% - 620px);
    margin-bottom: -20px;
}

.stats-promo-right {
    right: calc(50% - 620px);
    height: 368px;
}

@media (max-width: 768px) {
    .stats-promo-img {
        display: none;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   CTA 섹션
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary), #c1121f);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn {
    background: var(--white);
    color: var(--secondary);
}

.cta-section .btn:hover {
    background: var(--light);
    transform: translateY(-2px);
}

/* ========================================
   반응형
   ======================================== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        background-image: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                          url('../images/hero-1on1-class-mobile.webp') !important;
        background-size: contain !important;
        background-position: center bottom !important;
        background-repeat: no-repeat !important;
        background-color: #1a5f7a !important;
    }

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

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   후기 페이지
   ======================================== */
.page-hero.reviews {
    background: linear-gradient(135deg, rgba(26,95,122,0.5), rgba(19,75,97,0.55)),
                url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1600') center/cover;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.nationality-flag {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-left: 8px;
}

.review-info h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.review-course {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.review-meta {
    font-size: 0.85rem;
    color: #666;
}

.review-rating {
    margin-bottom: 1rem;
}

.review-rating .star {
    color: #ddd;
    font-size: 1.2rem;
}

.review-rating .star.filled {
    color: #ffc107;
}

.review-content {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    white-space: pre-line;
}

.review-date {
    font-size: 0.8rem;
    color: #adb5bd;
    text-align: right;
}

.no-reviews,
.loading-message,
.error-message {
    text-align: center;
    padding: 3rem;
    color: var(--gray);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

.error-message {
    color: var(--secondary);
}

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