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

:root {
    --bg-page: #f5f7fa;
    --bg-card: #ffffff;
    --bg-soft: #eef1f5;
    --text-dark: #1a2634;
    --text-body: #4a5568;
    --text-muted: #718096;
    --accent-teal: #0d9488;
    --accent-teal-hover: #0f766e;
    --accent-amber: #d97706;
    --accent-amber-soft: rgba(217, 119, 6, 0.12);
    --border-light: rgba(13, 148, 136, 0.18);
    --shadow-soft: 0 4px 20px rgba(26, 38, 52, 0.06);
    --shadow-card: 0 10px 40px rgba(26, 38, 52, 0.08);
}

html {
    scroll-behavior: smooth;
}

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

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.header-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-teal);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.brand:hover {
    color: var(--accent-teal-hover);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--accent-teal);
}

/* Hero */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.35) 0%, rgba(26, 38, 52, 0.5) 100%);
    pointer-events: none;
}

.hero-box {
    position: relative;
    text-align: center;
    max-width: 560px;
    color: #fff;
}

.hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    opacity: 0.95;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--accent-amber);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: background 0.25s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

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

/* Wrap / Container */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section common */
.sec-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-teal);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.sec-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Courses section - 2x2 grid */
.courses-section {
    padding: 5rem 0;
    background: var(--bg-card);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.course-card {
    background: var(--bg-page);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s, box-shadow 0.25s;
}

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

.course-thumb {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.course-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card:hover .course-img {
    transform: scale(1.06);
}

.course-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-teal);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 6px;
}

.course-info {
    padding: 1.35rem 1.25rem;
}

.course-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.course-info p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

/* Styles section - 3 columns */
.styles-section {
    padding: 5rem 0;
    background: var(--bg-soft);
}

.styles-wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.styles-intro .sec-title {
    margin-bottom: 0.75rem;
}

.styles-lead {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.75;
}

.styles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.style-item {
    background: var(--bg-card);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: border-color 0.25s, box-shadow 0.25s;
}

.style-item:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-soft);
}

.style-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.style-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.style-item p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.65;
    margin: 0;
}

/* Gallery section - split */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-card);
}

.gallery-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.gallery-visual {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.gallery-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.gallery-copy .sec-title {
    margin-bottom: 1rem;
}

.gallery-copy p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.gallery-handle {
    font-weight: 600;
    color: var(--accent-teal);
    margin-bottom: 0 !important;
}

/* Inquiry section */
.inquiry-section {
    padding: 5rem 0;
    background: var(--bg-soft);
}

.inquiry-inner {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.inquiry-inner .sec-title {
    margin-bottom: 0.75rem;
}

.inquiry-lead {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.inquiry-block {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    text-align: left;
}

.inquiry-block p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.inquiry-block a {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.inquiry-block a:hover {
    color: var(--accent-teal-hover);
}

/* Privacy */
.privacy-section {
    padding: 4rem 0 5rem;
    background: var(--bg-page);
}

.privacy-inner {
    max-width: 640px;
    margin: 0 auto;
}

.privacy-inner h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.privacy-body h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.privacy-body h2:first-of-type {
    margin-top: 0;
}

.privacy-body p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-body a {
    color: var(--accent-teal);
    text-decoration: none;
}

.privacy-body a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--bg-soft);
    color: var(--text-body);
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* Responsive */
@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .styles-wrap {
        grid-template-columns: 1fr;
    }

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

    .gallery-wrap {
        grid-template-columns: 1fr;
    }

    .gallery-visual {
        order: -1;
    }

    .gallery-img {
        min-height: 280px;
    }
}

@media (max-width: 640px) {
    .header-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-menu {
        gap: 1.25rem;
    }

    .hero {
        min-height: 60vh;
        padding: 5rem 1rem 3rem;
    }

    .wrap {
        padding: 0 1rem;
    }

    .courses-section,
    .styles-section,
    .gallery-section,
    .inquiry-section {
        padding: 3.5rem 0;
    }

    .sec-title {
        font-size: 1.5rem;
    }
}
