/* ===============================================
   DR-Drive-13 Theme - 라일락 프리미엄 (Lilac Premium)
   센터 포커스 레이아웃 / #C8A2C8 (라일락) + #E8E8E8 (그레이)
   =============================================== */

:root {
    --primary: #C8A2C8;
    --primary-dark: #B088B0;
    --primary-light: #E8D5E8;
    --secondary: #A888A8;
    --accent: #D4B5D4;

    --text-dark: #3D3D3D;
    --text-light: #666666;
    --text-muted: #999999;

    --bg-main: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-gray: #E8E8E8;
    --bg-light: #F5F5F5;

    --border: #E0E0E0;
    --shadow-sm: 0 2px 10px rgba(200, 162, 200, 0.1);
    --shadow-md: 0 5px 25px rgba(200, 162, 200, 0.15);
    --shadow-lg: 0 15px 50px rgba(200, 162, 200, 0.2);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--text-dark);
    background: var(--bg-main);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Noto Serif KR', serif;
    font-weight: 600;
    line-height: 1.3;
}

a { text-decoration: none; color: var(--primary); transition: all 0.3s; }
a:hover { color: var(--primary-dark); }

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.navbar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-dark);
}

.brand-diamond {
    width: 35px;
    height: 35px;
    background: var(--primary);
    transform: rotate(45deg);
    position: relative;
}

.brand-diamond::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-item { display: inline-block; }

.navbar-nav .nav-link {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--primary);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header-cta:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.navbar-toggler span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Hero Section - Center Focus */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 50%, var(--bg-gray) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23C8A2C8" stroke-width="0.3" opacity="0.2"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.hero-center {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 120px 20px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    z-index: -1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border);
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin: 10px auto 0;
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-header.center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Features - Center Grid */
.features-section {
    background: var(--bg-white);
}

.features-center-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-card.featured {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.feature-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.feature-card.featured .feature-icon {
    background: white;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

.feature-card.featured .feature-icon i {
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-card.featured p {
    color: rgba(255,255,255,0.9);
}

/* Price - Center Grid */
.price-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--primary-light) 100%);
}

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

.price-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.price-card.featured {
    background: var(--text-dark);
    color: white;
    transform: scale(1.08);
    border: none;
}

.price-card:hover {
    box-shadow: var(--shadow-lg);
}

.price-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.price-ribbon::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    border: 5px solid transparent;
    border-top-color: var(--primary-dark);
    border-right-color: var(--primary-dark);
}

.price-header {
    margin-bottom: 25px;
}

.price-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 15px;
}

.price-card.featured .price-badge {
    color: white;
    background: var(--primary);
}

.price-card h3 {
    font-size: 1.4rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.price-card.featured h3 {
    color: white;
}

.price-amount {
    margin-bottom: 30px;
}

.price-amount .currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    vertical-align: top;
}

.price-card.featured .currency {
    color: rgba(255,255,255,0.7);
}

.price-amount .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-card.featured .number {
    color: white;
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.price-card.featured .price-features li {
    border-color: rgba(255,255,255,0.1);
}

.price-features li:last-child {
    border: none;
}

.price-features i {
    color: var(--primary);
    font-size: 0.9rem;
}

.price-card.featured .price-features i {
    color: var(--primary-light);
}

.price-btn {
    display: block;
    padding: 16px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s;
}

.price-card.featured .price-btn {
    background: white;
    color: var(--text-dark);
}

.price-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    color: white;
}

.price-card.featured .price-btn:hover {
    color: var(--text-dark);
}

.price-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.price-note i {
    color: var(--primary);
    margin-right: 5px;
}

.price-basis {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.price-card.featured .price-basis {
    color: rgba(255,255,255,0.7);
}

/* Price Detail Table */
.price-table-wrapper {
    overflow-x: auto;
    max-width: 900px;
    margin: 0 auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.price-table thead tr {
    background: var(--primary);
}

.price-table thead th {
    padding: 20px;
    color: white;
    font-weight: 500;
    text-align: center;
}

.price-table thead th.price-table-course {
    text-align: left;
}

.price-table tbody td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

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

.price-table tbody td.price-table-course {
    text-align: left;
}

.price-table tbody td.price-table-course strong {
    display: block;
    color: var(--text-dark);
}

.price-table tbody td.price-table-course small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.price-table td.price-table-highlight,
.price-table th.price-table-highlight {
    background: var(--primary-light);
}

/* Notice Grid (Price Page) */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.notice-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.notice-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice-icon i {
    font-size: 1.4rem;
    color: var(--primary);
}

.notice-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
}

.notice-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Alt */
.section-alt {
    background: var(--bg-light);
}

/* Process Section */
.process-section {
    background: var(--bg-white);
}

.process-timeline {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.process-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin-top: 40px;
    flex-shrink: 0;
}

/* Reviews - Center Grid */
.reviews-section {
    background: var(--bg-main);
}

.review-center-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: all 0.3s;
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.review-quote {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--primary-light);
}

.review-stars {
    margin-bottom: 20px;
    color: #F5C518;
}

.review-stars i {
    margin-right: 3px;
}

.review-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-style: italic;
    line-height: 1.8;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

.review-author strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
}

.review-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.section-more {
    text-align: center;
}

.section-more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s;
}

.section-more a:hover {
    color: var(--primary);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
}

.contact-center-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.4rem;
    color: white;
}

.info-icon.kakao {
    background: #FEE500;
}

.info-icon.kakao i {
    color: #3C1E1E;
}

.info-icon.time {
    background: var(--secondary);
}

.info-card h4 {
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p,
.info-card a {
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
}

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

.form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group label i {
    color: var(--primary);
    margin-right: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--bg-light);
}

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

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.brand-diamond-sm {
    width: 20px;
    height: 20px;
    background: var(--primary);
    transform: rotate(45deg);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a,
.footer-col li {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-col i {
    margin-right: 8px;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Floating CTA Buttons */
.cta-buttons {
    position: fixed;
    right: 25px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.cta-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateX(-5px);
    color: white;
}

.cta-btn.apply {
    background: var(--primary);
}

.cta-btn.kakao {
    background: #FEE500;
    color: #3C1E1E;
}

.cta-btn.kakao:hover {
    color: #3C1E1E;
}

.cta-btn.tel {
    background: var(--secondary);
}

/* Back to Top */
#backToTop {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: var(--text-dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== PAGE HEADER (서브페이지) ===== */
.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
    text-align: center;
    position: relative;
}

.page-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.page-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 16px;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--text-body);
}

.breadcrumb-nav {
    margin-top: 20px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-body);
}

.breadcrumb a { color: var(--text-body); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-item.active { color: var(--primary); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; margin-right: 8px; color: var(--text-body); }

/* Responsive */
@media (max-width: 1200px) {
    .features-center-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 992px) {
    .navbar-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column !important;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav.active {
        display: flex !important;
    }

    .navbar-toggler {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-num {
        font-size: 2rem;
    }

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

    .process-timeline {
        flex-direction: column;
        gap: 30px;
    }

    .process-line {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    .price-center-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

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

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

    .review-center-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-center-grid {
        grid-template-columns: 1fr;
    }

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

    .price-table thead th,
    .price-table tbody td {
        padding: 14px 12px;
        font-size: 0.9rem;
    }

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

    .contact-form {
        padding: 30px 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-buttons {
        right: 15px;
        bottom: 80px;
    }

    .cta-btn span {
        display: none;
    }

    .cta-btn {
        padding: 14px;
        border-radius: 50%;
    }
}

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

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

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .price-table thead th,
    .price-table tbody td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }

    .price-table tbody td.price-table-course small {
        font-size: 0.75rem;
    }
}

/* ===== SUBPAGE COMPONENTS (공통 서브페이지 컴포넌트) ===== */

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light, #E8F5E9);
    color: var(--primary, #4CAF50);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--text-dark, #212121);
    margin-bottom: 12px;
}

.section-title .highlight,
.section-title .gradient-text {
    color: var(--primary, #4CAF50);
}

.section-desc {
    color: var(--text-muted, #757575);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Curriculum Grid */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.curriculum-card {
    background: var(--white, #fff);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-100, #f5f5f5);
    position: relative;
    transition: all 0.3s ease;
}

.curriculum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.curriculum-day {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #4CAF50);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.curriculum-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light, #E8F5E9);
    color: var(--primary, #4CAF50);
    border-radius: 16px;
    font-size: 1.5rem;
    margin: 20px auto 16px;
}

.curriculum-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary, #4CAF50);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin-bottom: 12px;
}

.curriculum-card h3 {
    color: var(--text-dark, #212121);
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.curriculum-card p {
    color: var(--text-muted, #757575);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Highlight Grid */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.highlight-item {
    background: var(--white, #fff);
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-100, #f5f5f5);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light, #E8F5E9);
    color: var(--primary, #4CAF50);
    border-radius: 12px;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.highlight-item h4 {
    color: var(--text-dark, #212121);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.highlight-item p {
    color: var(--text-muted, #757575);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Option Grid */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.option-card {
    background: var(--white, #fff);
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-100, #f5f5f5);
    position: relative;
    transition: all 0.3s ease;
}

.option-card.featured {
    border-color: var(--primary, #4CAF50);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: scale(1.02);
}

.option-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary, #4CAF50);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.option-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light, #E8F5E9);
    color: var(--primary, #4CAF50);
    border-radius: 16px;
    font-size: 1.5rem;
    margin: 0 auto 16px;
}

.option-card h3 {
    color: var(--text-dark, #212121);
    margin-bottom: 12px;
}

.option-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    text-align: left;
}

.option-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-body, #424242);
    border-bottom: 1px dashed var(--gray-200, #eee);
    font-size: 0.95rem;
}

.option-list li:last-child {
    border-bottom: none;
}

.option-list li i {
    color: var(--primary, #4CAF50);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-light, #E8F5E9) 0%, var(--bg-cream, #FFFBF7) 100%);
    padding: 48px 32px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    color: var(--text-dark, #212121);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.cta-box p {
    color: var(--text-muted, #757575);
    margin-bottom: 24px;
}

/* Section CTA */
.section-cta {
    background: linear-gradient(135deg, var(--primary, #4CAF50) 0%, var(--primary-dark, #388E3C) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-cta .cta-box {
    background: rgba(255,255,255,0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .curriculum-grid,
    .option-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cta-box {
        padding: 36px 24px;
    }
}

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

/* ===== BOARD - Gallery Card Layout ===== */

/* --- Search Area --- */
.gallery-search-area {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.gallery-search-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.gallery-search-select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 6px 0 0 6px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.875rem;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
    min-width: 80px;
}

.gallery-search-select:focus {
    border-color: var(--primary);
}

.gallery-search-input {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-right: none;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 0.875rem;
    outline: none;
    min-width: 200px;
}

.gallery-search-input:focus {
    border-color: var(--primary);
}

.gallery-search-input::placeholder {
    color: var(--text-muted);
}

.gallery-search-btn {
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--primary);
    border-radius: 0 6px 6px 0;
    background: var(--primary);
    color: var(--bg-white);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.gallery-search-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.gallery-search-btn i {
    margin-right: 4px;
}

/* --- Notice Area --- */
.gallery-notice-area {
    margin-bottom: 1.25rem;
}

.gallery-notice-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    margin-bottom: 8px;
    gap: 12px;
}

.gallery-notice-item:last-child {
    margin-bottom: 0;
}

.gallery-notice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 10px;
    border-radius: 4px;
    background: var(--primary);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.gallery-notice-title {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none;
}

.gallery-notice-title:hover {
    color: var(--primary);
}

.gallery-notice-date {
    color: var(--text-muted);
    font-size: 0.8125rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- Card Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-card {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Card Thumbnail */
.gallery-card-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
}

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

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

/* No Image Placeholder */
.gallery-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
}

.gallery-no-img svg {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    opacity: 0.4;
}

.gallery-no-img-detail {
    height: 300px;
    border-radius: var(--radius-sm);
}

.gallery-no-img-detail svg {
    width: 72px;
    height: 72px;
}

/* Card Tag Overlay */
.gallery-card-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--primary);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Card Body */
.gallery-card-body {
    padding: 12px;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Card Rating Stars */
.gallery-card-rating {
    display: flex;
    gap: 1px;
    margin-bottom: 4px;
}

.gallery-card-rating i {
    font-size: 0.6875rem;
    color: #f5a623;
}

/* Card Title */
.gallery-card-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

/* Card Meta */
.gallery-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.gallery-card-author {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-card-date {
    white-space: nowrap;
    flex-shrink: 0;
}

/* --- Pagination --- */
.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.gallery-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-white);
    color: var(--text-light);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.gallery-page-link:hover {
    background: var(--bg-light);
    color: var(--primary);
    border-color: var(--primary);
}

.gallery-page-link.active {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
    font-weight: 600;
}

.gallery-page-prev,
.gallery-page-next {
    font-size: 0.75rem;
}

/* --- Write Button Area --- */
.gallery-write-area {
    display: flex;
    justify-content: flex-end;
}

/* --- Common Buttons (Gallery/Detail) --- */
.gv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.gv-btn i {
    font-size: 0.8125rem;
}

.gv-btn-primary {
    background: var(--primary);
    color: var(--bg-white);
    border: 1px solid var(--primary);
}

.gv-btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--bg-white);
}

.gv-btn-list {
    background: var(--bg-white);
    color: var(--text-light);
    border: 1px solid var(--border);
}

.gv-btn-list:hover {
    background: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--text-muted);
}

/* ===== BOARD - Detail View ===== */

.board-detail-section {
    padding-bottom: 4rem;
}

/* Detail Card */
.gv-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1rem;
}

.gv-card-header {
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--border);
}

.gv-header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.gv-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8125rem;
    font-weight: 500;
}

.gv-rating {
    display: flex;
    gap: 2px;
}

.gv-rating i {
    font-size: 0.875rem;
    color: #f5a623;
}

.gv-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 12px;
}

.gv-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.gv-meta-item {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.gv-meta-item i {
    margin-right: 4px;
    font-size: 0.75rem;
}

.gv-meta-divider {
    color: var(--border);
    font-size: 0.75rem;
    margin: 0 4px;
}

/* Detail Buttons */
.gv-btn-area {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 28px;
}

.gv-btn-area-top {
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
}

.gv-btn-area-bottom {
    padding: 0;
    margin-top: 1.5rem;
    justify-content: space-between;
}

/* Detail Body */
.gv-card-body {
    padding: 28px;
}

.gv-thumb-area {
    margin-bottom: 24px;
}

.gv-content {
    font-size: 0.9375rem;
    color: var(--text-dark);
    line-height: 1.9;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Recommend Buttons */
.gv-recommend {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px 28px;
    border-top: 1px solid var(--border);
}

.gv-recommend-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: var(--bg-white);
    color: var(--text-light);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.gv-recommend-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.gv-recommend-btn em {
    font-style: normal;
    font-weight: 600;
}

.gv-recommend-up:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.gv-recommend-down:hover {
    border-color: #999;
    color: #666;
    background: var(--bg-light);
}

/* --- Prev/Next Navigation --- */
.gv-nav {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: var(--bg-white);
}

.gv-nav-item {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    gap: 16px;
    text-decoration: none;
    transition: background 0.2s;
}

.gv-nav-item + .gv-nav-item {
    border-top: 1px solid var(--border);
}

a.gv-nav-item:hover {
    background: var(--bg-light);
}

.gv-nav-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
    min-width: 70px;
}

.gv-nav-label i {
    margin-right: 4px;
    font-size: 0.6875rem;
}

.gv-nav-title {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gv-nav-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.gv-nav-disabled {
    cursor: default;
}

.gv-nav-disabled .gv-nav-label {
    color: var(--text-muted);
}

.gv-nav-disabled .gv-nav-title {
    color: var(--text-muted);
}

/* --- Comments --- */
.gv-comments {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.gv-comments-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.gv-comments-title i {
    color: var(--primary);
    font-size: 1rem;
}

.gv-comments-count {
    color: var(--primary);
    font-weight: 700;
}

.gv-comments-empty {
    padding: 40px 20px;
    text-align: center;
}

.gv-comments-empty p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.gv-comment-form {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.gv-comment-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-size: 0.875rem;
    font-family: 'Noto Sans KR', sans-serif;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s;
    min-height: 80px;
}

.gv-comment-textarea:focus {
    border-color: var(--primary);
    background: var(--bg-white);
}

.gv-comment-textarea::placeholder {
    color: var(--text-muted);
}

.gv-comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.gv-comment-chars {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== BOARD - Responsive (Gallery) ===== */

/* QHD (2560px~) */
@media (min-width: 2560px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
    }

    .gallery-card-thumb {
        height: 220px;
    }

    .gallery-card-body {
        min-height: 90px;
        padding: 14px;
    }

    .gallery-card-title {
        font-size: 1rem;
    }
}

/* FHD (1920px~2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.125rem;
    }

    .gallery-card-thumb {
        height: 200px;
    }
}

/* Desktop (1280px~1919px) - 기본값 유지 (5열) */

/* Tablet Landscape (1024px~1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Tablet Portrait (768px~1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-card-thumb {
        height: 160px;
    }

    .gallery-search-input {
        min-width: 160px;
    }
}

/* Mobile (480px~767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-card-thumb {
        height: 150px;
    }

    .gallery-card-body {
        padding: 10px;
        min-height: 78px;
    }

    .gallery-card-title {
        font-size: 0.8125rem;
    }

    .gallery-card-meta {
        font-size: 0.6875rem;
    }

    .gallery-search-area {
        justify-content: center;
    }

    .gallery-search-input {
        min-width: 120px;
    }

    .gallery-notice-item {
        padding: 10px 12px;
        gap: 8px;
    }

    .gallery-notice-title {
        font-size: 0.8125rem;
    }

    .gallery-notice-date {
        font-size: 0.75rem;
    }

    /* Detail responsive */
    .gv-card-header {
        padding: 20px 16px 16px;
    }

    .gv-title {
        font-size: 1.125rem;
    }

    .gv-btn-area {
        padding: 10px 16px;
    }

    .gv-card-body {
        padding: 16px;
    }

    .gv-recommend {
        padding: 20px 16px;
    }

    .gv-nav-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .gv-nav-label {
        font-size: 0.75rem;
        min-width: 60px;
    }

    .gv-nav-title {
        font-size: 0.8125rem;
    }

    .gv-nav-date {
        display: none;
    }
}

/* Small Mobile (~479px) */
@media (max-width: 479px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .gallery-card-thumb {
        height: 130px;
    }

    .gallery-card-body {
        padding: 8px 10px;
        min-height: 74px;
    }

    .gallery-card-rating i {
        font-size: 0.625rem;
    }

    .gallery-card-title {
        font-size: 0.8125rem;
    }

    .gallery-card-meta {
        font-size: 0.6875rem;
    }

    .gallery-card-tag {
        font-size: 0.6875rem;
        padding: 2px 8px;
    }

    .gallery-search-area {
        justify-content: stretch;
    }

    .gallery-search-form {
        width: 100%;
    }

    .gallery-search-select {
        min-width: 64px;
        font-size: 0.8125rem;
        padding: 0 24px 0 8px;
    }

    .gallery-search-input {
        min-width: 0;
        flex: 1;
        font-size: 0.8125rem;
    }

    .gallery-search-btn {
        font-size: 0.8125rem;
        padding: 0 12px;
    }

    .gallery-notice-item {
        padding: 10px 12px;
        gap: 6px;
    }

    .gallery-notice-badge {
        font-size: 0.6875rem;
        padding: 2px 8px;
    }

    .gallery-notice-title {
        font-size: 0.8125rem;
    }

    .gallery-notice-date {
        display: none;
    }

    .gallery-page-link {
        min-width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }

    /* Detail responsive - small */
    .gv-card-header {
        padding: 16px 14px 14px;
    }

    .gv-header-top {
        flex-wrap: wrap;
        gap: 8px;
    }

    .gv-title {
        font-size: 1.0625rem;
    }

    .gv-meta {
        gap: 2px;
    }

    .gv-meta-item {
        font-size: 0.75rem;
    }

    .gv-meta-divider {
        margin: 0 2px;
    }

    .gv-btn-area {
        padding: 10px 14px;
    }

    .gv-btn {
        padding: 8px 14px;
        font-size: 0.8125rem;
    }

    .gv-card-body {
        padding: 14px;
    }

    .gv-no-img-detail {
        height: 200px;
    }

    .gv-content {
        font-size: 0.875rem;
        line-height: 1.8;
    }

    .gv-recommend {
        padding: 16px 14px;
        gap: 10px;
    }

    .gv-recommend-btn {
        padding: 8px 16px;
        font-size: 0.8125rem;
        gap: 6px;
    }

    .gv-nav-item {
        padding: 10px 12px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .gv-nav-label {
        font-size: 0.75rem;
        min-width: 56px;
    }

    .gv-nav-title {
        font-size: 0.8125rem;
        flex-basis: calc(100% - 64px);
    }

    .gv-nav-date {
        display: none;
    }

    .gv-comments-title {
        font-size: 0.9375rem;
        padding: 14px 14px;
    }

    .gv-comments-empty {
        padding: 30px 14px;
    }

    .gv-comment-form {
        padding: 14px;
    }

    .gv-comment-textarea {
        font-size: 0.8125rem;
    }

    .gv-btn-area-bottom {
        flex-direction: column;
        gap: 8px;
    }

    .gv-btn-area-bottom .gv-btn {
        justify-content: center;
        width: 100%;
    }

    .gallery-write-area {
        justify-content: stretch;
    }

    .gallery-write-area .gv-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Fold/Flip (~359px) */
@media (max-width: 359px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card-thumb {
        height: 160px;
    }

    .gallery-card-body {
        height: auto;
        padding: 10px 12px 12px;
    }
}

/* ===== COURSE PAGE (연수과정) ===== */

/* Course Tabs */
.course-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.course-tab-btn {
    padding: 14px 32px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-white);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.course-tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.course-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.course-tab-panel {
    display: none;
}

.course-tab-panel.active {
    display: block;
}

/* Course Intro Box */
.course-intro-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 48px;
    border: 1px solid var(--border);
}

.course-intro-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.course-intro-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.course-intro-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    margin: 0;
}

.course-intro-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 12px;
}

.course-intro-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Course Day Card */
.course-day-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.course-day-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.course-day-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.course-day-header {
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-day-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.course-day-header h4 {
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.course-day-body {
    padding: 24px;
}

.course-day-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-day-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px dashed var(--border);
}

.course-day-body ul li:last-child {
    border-bottom: none;
}

.course-day-body ul li i {
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 5px;
    flex-shrink: 0;
}

/* Course Notice */
.course-notice {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    border-left: 4px solid var(--primary);
}

.course-notice h3 {
    font-size: 1.15rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-notice h3 i {
    color: var(--primary);
}

.course-notice ol {
    padding-left: 20px;
    margin: 0;
}

.course-notice ol li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    padding: 4px 0;
}

/* Course Responsive */
@media (max-width: 768px) {
    .course-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }

    .course-tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .course-intro-box {
        padding: 24px;
    }

    .course-intro-header {
        flex-wrap: wrap;
    }

    .course-intro-meta {
        margin-left: 0;
    }

    .course-day-grid {
        grid-template-columns: 1fr;
    }

    .course-notice {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .course-tab-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .course-intro-box {
        padding: 20px;
    }

    .course-intro-desc {
        font-size: 0.95rem;
    }

    .course-day-header {
        padding: 14px 18px;
    }

    .course-day-body {
        padding: 18px;
    }

    .course-notice {
        padding: 20px;
    }
}

/* ===== ROAD PAGE (도로연수) ===== */

/* Road - 배경 교차 */
.road-alt-bg {
    background: var(--bg-light);
}

/* Road - VAT 안내 */
.road-vat-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: -10px;
}

.road-vat-note.featured-note {
    color: rgba(255,255,255,0.7);
}

/* Road - 공통 안내 박스 */
.road-notice-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.road-notice-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--primary-light);
    padding: 24px 32px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    max-width: 800px;
    margin: 0 auto;
}

.road-notice-box i {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.road-notice-box p {
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Road - 주말반 일정 그리드 */
.road-weekend-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

/* Road - 방문지역 그리드 */
.road-area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.road-area-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.road-area-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.road-area-card.road-area-full {
    grid-column: 1 / -1;
}

.road-area-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-light);
}

.road-area-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.road-area-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    margin: 0;
}

.road-area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.road-area-tags span {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.road-area-tags span:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

/* Road Responsive */
@media (max-width: 992px) {
    .road-weekend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .road-area-card {
        padding: 24px;
    }

    .road-notice-box {
        flex-direction: column;
        text-align: center;
        padding: 20px 24px;
    }

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

@media (max-width: 480px) {
    .road-area-card {
        padding: 20px;
    }

    .road-area-header h3 {
        font-size: 1.1rem;
    }

    .road-area-tags span {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .road-notice-box {
        padding: 16px 20px;
    }

    .road-notice-box p {
        font-size: 0.9rem;
    }

    .road-weekend-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FAQ PAGE (자주묻는질문) ===== */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
}

.faq-question-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faq-category {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.05rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
}

.faq-question .faq-toggle-icon {
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

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

.faq-answer-inner {
    padding: 0 28px 24px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer-inner ul {
    margin: 16px 0;
    padding-left: 20px;
}

.faq-answer-inner ul li {
    margin-bottom: 4px;
}

/* FAQ Contact CTA */
.faq-contact-box {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-contact-box h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
}

.faq-contact-box p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.faq-contact-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s;
}

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

.faq-contact-btn.primary:hover {
    background: var(--primary-dark);
    color: white;
}

.faq-contact-btn.secondary {
    background: var(--bg-gray);
    color: var(--text-dark);
}

.faq-contact-btn.secondary:hover {
    background: var(--border);
    color: var(--text-dark);
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
    }

    .faq-contact-box {
        padding: 36px 24px;
        margin-top: 40px;
    }

    .faq-contact-box h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .faq-question-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .faq-question {
        padding: 16px 18px;
    }

    .faq-answer-inner {
        padding: 0 18px 18px;
    }

    .faq-contact-box {
        padding: 28px 20px;
    }

    .faq-contact-buttons {
        flex-direction: column;
    }

    .faq-contact-btn {
        justify-content: center;
    }
}

/* ===== LOCATION PAGE (교육지역) ===== */

/* Process Steps Grid */
.location-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.location-process-card {
    background: var(--bg-white);
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
}

.location-step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.location-step-icon {
    margin-top: 20px;
    font-size: 32px;
    color: var(--primary);
}

.location-process-card h4 {
    margin: 16px 0 8px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
}

.location-process-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Location CTA */
.location-cta {
    padding: 80px 0;
    background: var(--primary);
    text-align: center;
}

.location-cta h2 {
    color: white;
    margin-bottom: 16px;
    font-size: 2rem;
}

.location-cta p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.location-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.location-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

/* Location Responsive */
@media (max-width: 992px) {
    .location-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

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

    .location-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .location-process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-cta {
        padding: 50px 0;
    }

    .location-cta h2 {
        font-size: 1.4rem;
    }

    .location-cta p {
        font-size: 1rem;
    }

    .location-cta-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.active,
.animate-on-scroll.animate-visible {
    opacity: 1;
    transform: translateY(0);
}
