/* ============================================
   아틀리에 미감 - 메인 스타일시트
   한국화 감성 + 모던 웹 디자인
   ============================================ */

/* --- 디자인 토큰 --- */
:root {
    /* 색상: 먹(墨), 한지(韓紙), 채색화에서 영감 */
    --ink-black: #1a1a1a;
    --ink-dark: #2c2c2c;
    --ink-medium: #4a4a4a;
    --ink-light: #7a7a7a;
    --hanji-white: #faf8f5;
    --hanji-warm: #f5f0e8;
    --hanji-beige: #ede6d8;
    --accent-red: #c4553a;
    --accent-gold: #b8935a;
    --accent-sage: #7a8b6f;
    --accent-blue: #5a7a8b;

    /* 타이포그래피 */
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Noto Sans KR', sans-serif;

    /* 간격 */
    --section-padding: 120px 0;
    --inner-max: 1100px;

    /* 트랜지션 */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- 리셋 & 기본 --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--hanji-white);
    color: var(--ink-black);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* --- 네비게이션 --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--ink-black);
}

.nav-links {
    flex-shrink: 1;
    min-width: 0;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-light);
    margin-left: 2.5rem;
    white-space: nowrap;
    letter-spacing: 0.5px;
    transition: color 0.3s var(--ease);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-red);
    transition: width 0.3s var(--ease);
}

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

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

/* --- 언어 국기 버튼 --- */
.lang-flags {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 1.5rem;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s, border-color 0.3s;
    padding: 0;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    opacity: 1;
    border-color: var(--accent-red);
}

/* Google Translate 배너 숨기기 */
.goog-te-banner-frame, .skiptranslate {
    display: none !important;
}

body { top: 0 !important; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--ink-black);
    transition: all 0.3s var(--ease);
}

/* --- 히어로 --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--ink-black);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(26, 26, 26, 0.5) 0%,
        rgba(26, 26, 26, 0.8) 100%
    );
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 60%, rgba(196, 85, 58, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 40%, rgba(184, 147, 90, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--hanji-white);
    padding: 0 2rem;
}

.hero-sub {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(250, 248, 245, 0.5);
    margin-bottom: 1.5rem;
    animation: fadeUp 1s var(--ease) 0.3s both;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 8px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s var(--ease) 0.5s both;
}

.hero-title .accent {
    font-weight: 600;
    color: var(--accent-gold);
}

.hero-desc {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(250, 248, 245, 0.6);
    letter-spacing: 1px;
    margin-bottom: 3rem;
    animation: fadeUp 1s var(--ease) 0.7s both;
}

.btn-hero {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    border: 1px solid rgba(250, 248, 245, 0.3);
    color: var(--hanji-white);
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease);
    animation: fadeUp 1s var(--ease) 0.9s both;
}

.btn-hero:hover {
    background: var(--hanji-white);
    color: var(--ink-black);
    border-color: var(--hanji-white);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    animation: fadeUp 1s var(--ease) 1.2s both;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(250, 248, 245, 0.3);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(250, 248, 245, 0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* --- 공통 섹션 --- */
.section {
    padding: var(--section-padding);
}

.section-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.section-label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--ink-black);
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--ink-light);
    font-weight: 300;
    margin-bottom: 3.5rem;
    max-width: 500px;
}

/* --- 소개 섹션 --- */
.section-about {
    background: var(--hanji-warm);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.about-description {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 2;
    color: var(--ink-medium);
    font-weight: 300;
    white-space: pre-line;
    word-break: normal;
    overflow-wrap: break-word;
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-light);
}

.detail-value {
    font-size: 0.95rem;
    color: var(--ink-dark);
}

.phone-link {
    color: var(--ink-dark);
    text-decoration: none;
}

.phone-link:hover {
    color: var(--accent-red);
}

/* --- 원장 프로필 --- */
.section-director {
    background: var(--hanji-white);
}

.director-profile {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3.5rem;
}


.director-photo-wrap {
    flex-shrink: 0;
    width: 220px;
    height: 280px;
    background: #000;
    overflow: hidden;
    border-radius: 4px;
}

.director-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-info {
    flex: 1;
}

.director-text {
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 2;
    color: var(--ink-medium);
    font-weight: 300;
    white-space: pre-line;
    margin-top: -0.25em;
}

/* 프로필 더보기 */
.profile-content {
    overflow: hidden;
}

.profile-content.clamped {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-profile-more {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0;
    background: none;
    border: none;
    color: var(--accent-red);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-profile-more:hover {
    text-decoration: underline;
}

.director-gallery-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--ink-black);
}

/* 더보기 버튼 */
.btn-more {
    display: block;
    margin: 2.5rem auto 0;
    padding: 0.8rem 3rem;
    background: transparent;
    border: 1px solid var(--ink-black);
    color: var(--ink-black);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-more:hover {
    background: var(--ink-black);
    color: var(--hanji-white);
}

/* 원장 작품 슬라이더 */
.director-slider {
    max-width: 800px;
    margin: 0 auto;
}

.slider-main {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--hanji-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s var(--ease);
}

.slider-main-title-wrap {
    text-align: center;
    padding: 0.8rem 0;
}

.slider-main-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--ink-black);
    letter-spacing: 0.5px;
    font-weight: 500;
}

.slider-main-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-top: 0.2rem;
}

.slider-thumbs-wrap {
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    padding: 0 2.5rem;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    background: var(--hanji-beige);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 0.9rem;
    color: var(--ink-medium);
    transition: background 0.2s var(--ease);
}

.slider-arrow:hover {
    background: var(--ink-black);
    color: var(--hanji-white);
}

.slider-arrow.left {
    left: 0;
}

.slider-arrow.right {
    right: 0;
}

.slider-thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.slider-thumbs::-webkit-scrollbar {
    display: none;
}

.slider-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--hanji-beige);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.slider-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 2px var(--accent-red);
}

.slider-thumb:hover {
    opacity: 0.85;
}

.slider-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .slider-thumb {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 768px) {
    .director-profile {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .director-photo-wrap {
        width: 180px;
        height: 230px;
        align-self: center;
    }
}

/* --- 갤러리 --- */
.section-gallery {
    background: var(--hanji-white);
    text-align: center;
}

.section-gallery .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    max-width: 720px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--hanji-white);
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
    display: block;
}

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

.gallery-item .gallery-caption {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.75);
    color: var(--hanji-white);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.gallery-caption p {
    font-size: 0.8rem;
    color: rgba(250, 248, 245, 0.7);
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--ink-light);
    font-size: 0.95rem;
}

/* 갤러리 이미지 모달 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.image-modal.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoomIn 0.3s var(--ease);
}

@keyframes zoomIn {
    from {transform:scale(0.9); opacity:0}
    to {transform:scale(1); opacity:1}
}

.modal-caption {
    margin: 15px auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    font-size: 1rem;
    font-weight: 300;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
}

/* 폼 모달 (상담 신청 팝업) */
.form-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.form-modal.show {
    display: flex;
    animation: fadeIn 0.3s var(--ease);
}

.form-modal-content {
    background: var(--hanji-white);
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.fm-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--ink-black);
    text-align: center;
}

.fm-class-info {
    background: var(--hanji-warm);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent-sage);
}

.fm-class-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--ink-dark);
}

.fm-class-time {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin-top: 0.3rem;
}

.fm-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fm-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.fm-buttons button {
    flex: 1;
    padding: 0.9rem;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s var(--ease);
}

.btn-cancel {
    background: rgba(0,0,0,0.05);
    color: var(--ink-medium);
}

.btn-cancel:hover {
    background: rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- 수업 현황 (카드) --- */
.section-classes {
    background: var(--hanji-warm);
}

.classes-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}

.class-card {
    background: var(--hanji-white);
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent-sage);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    cursor: pointer;
}

.class-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.class-card.closed {
    border-left-color: var(--accent-red);
    opacity: 0.75;
    cursor: default;
}

.class-card.closed .cc-title {
    text-decoration: line-through;
    color: var(--ink-light);
}

.cc-day {
    font-size: 0.75rem;
    color: var(--accent-red);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.cc-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--ink-black);
    margin-bottom: 1rem;
    font-weight: 400;
}

.cc-seats-bar {
    width: 100%;
    height: 6px;
    background: rgba(0,0,0,0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.cc-seats-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s var(--ease);
}

.cc-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.cc-status {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cc-status.open {
    color: var(--accent-sage);
}

.cc-status.full {
    color: var(--accent-red);
}

.cc-remain {
    color: var(--ink-light);
}

/* --- 영상 --- */
.section-video {
    background: var(--ink-black);
    color: var(--hanji-white);
}

.section-video .section-label {
    color: var(--accent-gold);
}

.section-video .section-title {
    color: var(--hanji-white);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    background: var(--ink-dark);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--ink-light);
    font-size: 0.95rem;
}

/* --- 인스타그램 --- */
.section-instagram {
    background: var(--hanji-white);
    text-align: center;
}

.section-instagram .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.insta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border: 1px solid var(--ink-black);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s var(--ease);
}

.insta-button:hover {
    background: var(--ink-black);
    color: var(--hanji-white);
}

/* 인스타그램 피드 그리드 */
.insta-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    max-width: 720px;
    margin: 0 auto;
}

.insta-feed-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--hanji-beige);
    display: block;
}

.insta-feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
    display: block;
}

.insta-feed-item:hover img {
    transform: scale(1.08);
}

.insta-feed-caption {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.75);
    color: var(--hanji-white);
    font-size: 0.8rem;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.5;
    overflow: hidden;
    /* 캡션 3줄 제한 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.insta-feed-item:hover .insta-feed-caption {
    opacity: 1;
    display: flex;
}

.insta-loading,
.insta-empty {
    grid-column: 1 / -1;
    padding: 3rem 2rem;
    color: var(--ink-light);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .insta-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* --- 상담 신청 --- */
.section-contact {
    background: var(--hanji-warm);
}

.contact-form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--hanji-white);
    color: var(--ink-black);
    outline: none;
    transition: border-color 0.3s var(--ease);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
    padding: 0.9rem 2.5rem;
    background: var(--ink-black);
    color: var(--hanji-white);
    border: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-submit:hover {
    background: var(--accent-red);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-status {
    font-size: 0.85rem;
    min-height: 1.2em;
}

.form-status.success {
    color: var(--accent-sage);
}

.form-status.error {
    color: var(--accent-red);
}

/* --- 푸터 --- */
.footer {
    background: var(--ink-black);
    color: rgba(250, 248, 245, 0.4);
    padding: 3.5rem 0;
    text-align: center;
}

.footer-inner {
    max-width: var(--inner-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgba(250, 248, 245, 0.7);
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.footer-address {
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-copy {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* --- 스크롤 애니메이션 --- */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 반응형 --- */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 248, 245, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

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

    .nav-links a {
        margin-left: 0;
        font-size: 1.2rem;
    }

    .lang-flags {
        margin-left: auto;
        margin-right: 0.8rem;
        gap: 4px;
    }

    .lang-btn {
        font-size: 1rem;
        width: 28px;
        height: 28px;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .classes-card-list {
        grid-template-columns: 1fr;
    }
}
