/* -------------------------------------------------------------
 * Premium Institutional Theme - Guri Children's Observatory
 * Elegant Private School Brochure Aesthetic
 * ------------------------------------------------------------- */

/* Custom Color Tokens */
:root {
    --gold: #B89B5E;          /* Refined Champagne Gold */
    --gold-soft: #D8C79A;     /* Soft Gold Accent */
    --gold-light: #EFE5C8;    /* Softer gold highlights */
    
    --navy: #071120;          /* Deep cinematic space navy */
    --ivory: #F7F3EA;         /* Warm luxury ivory/cream background */
    --white-warm: #FFFCF6;    /* Soft warm white background */
    
    --text-primary: #071120;  /* Slate Space Navy */
    --text-secondary: #4A5568;/* Dim Slate Gray */
    --text-muted: #8A95A5;
    --text-light: #F7F3EA;
    --text-light-muted: #A3AFBF;
    
    --border-light: rgba(7, 17, 32, 0.035);
    --border-gold: rgba(184, 155, 94, 0.12);
    
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-display: 'Montserrat', sans-serif;
    
    --container-width: 820px; /* Editorial Width */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    background-color: var(--ivory);
    color: var(--text-secondary);
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.85; /* Spacious line-height for catalog look */
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.035em; /* Premium tight kerning for Korean */
    background: var(--ivory);
}

h1, h2, h3, h4, h5, h6, p, span, li, a, button {
    word-break: keep-all;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.04em;
}

strong {
    color: var(--gold);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Helper Utilities */
.inline-block {
    display: inline-block;
}

.no-wrap {
    white-space: nowrap;
}

/* Section Global Spacing */
section {
    position: relative;
    padding: 90px 24px; /* Reduced editorial whitespace */
    z-index: 2;
}

.section-container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

/* Editorial Block Layout */
.editorial-block {
    margin-bottom: 70px;
}

.editorial-block.text-center {
    text-align: center;
}

.section-tag-gold {
    display: inline-block;
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 500; /* Thin & clean font weight */
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 25px;
    opacity: 0.75;
}

.section-title {
    font-size: 2.35rem;
    line-height: 1.45;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-weight: 800;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.85;
    margin-top: 20px;
}

.section-desc-light {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.6;
    word-break: keep-all;
}

/* Alternating Section Backgrounds (High Contrast Rhythm) */
.value-prop-section {
    background-color: var(--ivory); /* Ivory */
}

.difference-section {
    background-color: var(--white-warm); /* Warm White */
    padding: 80px 24px;
}

.class-structure-section {
    background-color: var(--ivory); /* Ivory */
}

.curriculum-roadmap-section {
    background-color: var(--white-warm); /* Warm White */
}

.team-why-section {
    background-color: var(--navy); /* Deep Navy */
    color: var(--text-light-muted);
}

.simple-pricing-section {
    background-color: var(--ivory); /* Ivory */
}

.faq-minimal-section {
    background-color: var(--ivory); /* Ivory */
    padding-top: 110px;
}

/* Premium Large Images - Full Bleed Cinematic Style */
.editorial-image-box {
    margin: 35px 0 0 0;
    border-radius: 0;
    overflow: hidden;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-shadow: none;
    transition: var(--transition-smooth);
}

.value-prop-section .editorial-image-box {
    aspect-ratio: 16 / 7;
}

.team-why-section .editorial-image-box {
    aspect-ratio: 16 / 7;
}

.editorial-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
}

.editorial-img:hover {
    transform: scale(1.02);
}

/* =============================================================
 * Header System (Thin & Clean)
 * ============================================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(247, 243, 234, 0.85); /* Warm Ivory glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(7, 17, 32, 0.02);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: var(--ivory);
    box-shadow: 0 4px 20px rgba(7, 17, 32, 0.015);
}

.main-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-img {
    height: 44px; /* Enlarged logo for better visibility */
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-sub {
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-left: 7px;
    border-left: 1px solid rgba(184, 155, 94, 0.35);
    padding-left: 7px;
}

.header-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white-warm);
    background: var(--navy);
    padding: 8px 17px;
    border-radius: 4px;
}

.header-btn:hover {
    background: var(--gold);
}

/* =============================================================
 * Section 1: Hero (Cinematic & Deep Dark Screen)
 * ============================================================= */
.hero-section {
    position: relative;
    height: 105vh; /* Increased vertical height */
    min-height: 700px;
    display: flex;
    align-items: flex-start; /* Align content to top to stay clear of the center play overlay */
    justify-content: center;
    color: #FFFFFF;
    text-align: center;
    padding-top: 110px;
    background: var(--navy);
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-video-clipper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-local-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1.2);
    display: block;
    pointer-events: none;
}

.hero-video-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Brighter premium navy/dark-blue linear gradient mask */
    background: linear-gradient(
        180deg, 
        rgba(7, 17, 32, 0.45) 0%, 
        rgba(7, 17, 32, 0.65) 100%
    );
    z-index: 2;
}

/* Integrated Awards Strip at bottom of Hero first fold */
.hero-awards-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(7, 17, 32, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 16px;
    z-index: 5;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-awards-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
    margin-top: 18vh; /* Spaced below header, safely clear of the center of the screen */
}

.hero-title {
    font-size: 2.85rem;
    line-height: 1.45;
    margin-bottom: 25px;
    color: #FFFFFF;
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    margin-bottom: 50px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

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

/* Elegant Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 4px; /* Minimalist angular design */
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold); /* Gold primary for Navy context */
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--gold-soft);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--gold-soft);
    border: 1px solid var(--gold-soft);
}

.btn-secondary-outline:hover {
    background: rgba(184, 155, 94, 0.04);
    transform: translateY(-1px);
}

/* =============================================================
 * Section 3: 수업의 차이 (Compact Typography Flow)
 * ============================================================= */
.editorial-block.compact {
    margin-bottom: 30px;
}

.section-title.compact-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 35px;
}

.diff-vertical-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.diff-vertical-step {
    display: flex;
}

/* =============================================================
 * Section 3: 수업의 차이 (Timeline Flow)
 * ============================================================= */
.section-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title-premium {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.45;
    letter-spacing: -0.03em;
    margin: 0 auto 50px;
    max-width: 700px;
}

.section-title-premium .highlight-gold {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.section-title-premium .highlight-gold::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold-soft);
    opacity: 0.5;
}

.flow-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
    padding: 20px 0;
}

@keyframes flowDash {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 12px 0;
    }
}

.flow-line {
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(184, 155, 94, 0.3), rgba(184, 155, 94, 0.3) 6px, transparent 6px, transparent 12px);
    z-index: 1;
    transform: translateY(-50%);
    background-size: 12px 100%;
    animation: flowDash 0.8s linear infinite;
}

.flow-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(184, 155, 94, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(184, 155, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(184, 155, 94, 0);
    }
}

.flow-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white-warm);
    border: 1px solid rgba(184, 155, 94, 0.4);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(184, 155, 94, 0.08);
    transition: var(--transition-smooth);
}

.flow-step:nth-of-type(1) .flow-step-num {
    animation: goldPulse 3s infinite;
    animation-delay: 0s;
}

.flow-step:nth-of-type(2) .flow-step-num {
    animation: goldPulse 3s infinite;
    animation-delay: 1s;
}

.flow-step:nth-of-type(3) .flow-step-num {
    animation: goldPulse 3s infinite;
    animation-delay: 2s;
}

.flow-step:hover .flow-step-num {
    border-color: var(--gold);
    background-color: var(--navy);
    color: var(--white-warm);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(7, 17, 32, 0.15);
}

.flow-step-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
    letter-spacing: -0.02em;
    transition: var(--transition-smooth);
}

.flow-step:hover .flow-step-title {
    color: var(--gold);
}

/* =============================================================
 * Section 4: 수업 구성 (Grid Cards with Active Glow)
 * ============================================================= */
@keyframes cardGlow {
    0% {
        box-shadow: 0 4px 20px rgba(184, 155, 94, 0.04), inset 0 0 0 1px rgba(184, 155, 94, 0.1);
        border-color: rgba(184, 155, 94, 0.12);
    }
    50% {
        box-shadow: 0 10px 30px rgba(184, 155, 94, 0.08), inset 0 0 0 1px rgba(184, 155, 94, 0.25);
        border-color: rgba(184, 155, 94, 0.35);
    }
    100% {
        box-shadow: 0 4px 20px rgba(184, 155, 94, 0.04), inset 0 0 0 1px rgba(184, 155, 94, 0.1);
        border-color: rgba(184, 155, 94, 0.12);
    }
}

/* =============================================================
 * Section 4: 수업 구성 (Unified Timeline Card)
 * ============================================================= */
.structure-timeline-card {
    background-color: var(--white-warm);
    border: 1px solid rgba(184, 155, 94, 0.15);
    border-radius: 8px;
    padding: 50px 40px;
    max-width: 780px;
    margin: 40px auto 0;
    box-shadow: 0 10px 30px rgba(184, 155, 94, 0.03);
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
}

.step-num-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--white-warm);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(7, 17, 32, 0.15);
}

.step-content {
    flex: 1;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.step-time {
    background-color: var(--ivory);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(184, 155, 94, 0.2);
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.timeline-divider {
    color: var(--gold-soft);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0 25px 68px;
    width: calc(100% - 68px);
    position: relative;
}

.timeline-divider::before,
.timeline-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-soft), transparent);
}

.timeline-divider::before {
    background: linear-gradient(270deg, var(--gold-soft), transparent);
    margin-right: 15px;
}

.timeline-divider::after {
    margin-left: 15px;
}

/* =============================================================
 * Section 5: 정규 과정 로드맵 (Border-less Flat Panels)
 * ============================================================= */
.roadmap-compact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.roadmap-compact-card {
    position: relative;
    background: var(--white-warm); /* Consistent premium white background */
    border: 1px solid rgba(184, 155, 94, 0.15); /* Delicate gold border */
    border-radius: 20px; /* Rounded corners */
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 230px;
    box-shadow: 0 10px 30px rgba(184, 155, 94, 0.02);
}

.roadmap-compact-card:hover {
    transform: translateY(-6px); /* Pop up dynamic height */
    border-color: var(--gold);
    box-shadow: 0 18px 40px rgba(184, 155, 94, 0.12); /* Richer premium shadow */
}

/* Highlighted Panel - Extremely Thin Gold Border Accent */
.roadmap-compact-card.highlighted {
    background: var(--white-warm);
    border: 2px solid var(--gold); /* Emphasized highlight border */
    box-shadow: 0 12px 35px rgba(184, 155, 94, 0.06);
}

.roadmap-compact-card.highlighted:hover {
    box-shadow: 0 20px 45px rgba(184, 155, 94, 0.16);
}

.roadmap-badge-inline {
    display: inline-block;
    background: rgba(7, 17, 32, 0.04);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.roadmap-compact-card.highlighted .roadmap-badge-inline {
    background: var(--gold);
    color: #FFFFFF;
}

.roadmap-compact-card h3 {
    font-size: 1.05rem; /* Larger font size */
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.5;
}

.roadmap-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem; /* Smaller font size */
    font-weight: 700;
    color: var(--gold);
    background-color: transparent; /* No fill */
    border: 1px solid rgba(184, 155, 94, 0.35); /* Delicate outline */
    padding: 6px 18px; /* Compact padding */
    border-radius: 30px;
    transition: var(--transition-smooth);
    margin-top: 10px;
    box-shadow: none;
}

.roadmap-mini-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
    background-color: rgba(184, 155, 94, 0.06); /* Soft tint on hover instead of heavy fill */
    transform: translateY(-1px);
}

.roadmap-compact-card.highlighted .roadmap-mini-btn {
    color: var(--gold);
    background-color: transparent;
    border-color: rgba(184, 155, 94, 0.35);
    box-shadow: none;
}

.roadmap-compact-card.highlighted .roadmap-mini-btn:hover {
    color: var(--gold);
    border-color: var(--gold);
    background-color: rgba(184, 155, 94, 0.06);
    box-shadow: none;
}

.card-highlight-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--gold);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

/* =============================================================
 * Section 6: 팀 수업 안내 & 부담완화 (Space Navy institutional)
 * ============================================================= */
.team-why-section .section-title {
    color: #FFFFFF;
}

.light-text p {
    color: rgba(255, 255, 255, 0.85);
}

.team-description-blocks {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-main-concept {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: #FFFFFF;
}

.team-main-concept strong {
    color: var(--gold-soft);
    font-weight: 800;
}

.team-sub-concept {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55) !important;
    line-height: 1.85;
}

.team-reassurance-box {
    margin-top: 70px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 45px 30px;
}

.team-reassurance-box p {
    font-size: 1.05rem;
    color: #FFFFFF;
    line-height: 1.8;
    margin-bottom: 30px;
}

.reassurance-title-gold {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold-soft);
    margin-bottom: 15px !important;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.reassurance-desc-white {
    font-size: 1.05rem;
    color: #FFFFFF;
    line-height: 1.7;
    margin-bottom: 25px !important;
    opacity: 0.9;
}

.reassurance-action {
    display: flex;
    justify-content: center;
}

/* Opening Process Layout in Section 6 */
.process-section-title {
    margin: 70px auto 30px;
}

.process-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.process-main-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.02em;
}

.opening-process-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 780px;
    margin: 0 auto 50px;
    text-align: left;
}

.process-flow-step {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 24px 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition-smooth);
}

.process-flow-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(184, 155, 94, 0.35);
    transform: translateY(-2px);
}

.process-flow-badge {
    flex-shrink: 0;
}

.process-flow-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-soft);
    line-height: 1;
    font-family: var(--font-display);
}

.process-flow-content {
    flex: 1;
}

.process-flow-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.process-highlight-badge {
    background: var(--gold);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: -0.01em;
}

.process-flow-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin: 0;
    word-break: keep-all;
}

/* =============================================================
 * Section 8: 수업료 안내 (Flat Solid Card - NO border, clean flat panel)
 * ============================================================= */
.pricing-card-clean {
    background: var(--white-warm);
    border-radius: 6px;
    padding: 60px 40px;
    text-align: center;
    max-width: 680px;
    margin: 40px auto 0;
    border: none; /* Removed border */
    background-color: var(--white-warm);
}

.pricing-statement {
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.pricing-main-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.price-val {
    font-size: 3.1rem;
    font-weight: 800;
    color: var(--gold); /* Refined soft gold */
    line-height: 1;
    letter-spacing: -0.04em;
}

.price-condition {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-text-book {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 700;
    margin-top: 4px;
}

.pricing-future-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tuition-calculator-box {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(7, 17, 32, 0.04);
}

.calc-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.calc-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.calc-pill-btn {
    background: none;
    border: 1px solid rgba(7, 17, 32, 0.08);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calc-pill-btn:hover {
    border-color: var(--gold-soft);
    color: var(--gold);
}

.calc-pill-btn.active {
    background: var(--navy);
    border-color: var(--navy);
    color: #FFFFFF;
}

.calc-result-display {
    background: var(--ivory);
    border-radius: 4px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    margin: 0 auto;
}

.calc-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calc-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.calc-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.calc-value-gold {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold);
}

/* =============================================================
 * Section 9: FAQ Accordions (Flat Elegant Panels)
 * ============================================================= */
.faq-flat-accordion {
    max-width: 720px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-flat-item {
    background: var(--white-warm);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-flat-item.active {
    border-color: var(--gold);
}

.faq-flat-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 30px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.faq-flat-trigger span {
    pointer-events: none;
}

.faq-arrow {
    font-size: 0.65rem;
    color: var(--gold);
    transition: transform 0.4s ease;
}

.faq-flat-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-flat-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-flat-inner {
    padding: 0 30px 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    border-top: 1px solid rgba(7, 17, 32, 0.02);
    padding-top: 20px;
}

/* =============================================================
 * Footer & Last CTA (Deep Navy Overlay)
 * ============================================================= */
.main-footer {
    background: var(--navy);
    color: var(--text-light-muted);
    padding: 0;
}

.footer-cta-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 130px 24px 140px; /* Cushion space for sticky cta */
}

.footer-cta-content {
    margin-bottom: 90px;
}

.footer-cta-title {
    font-size: 2.1rem;
    line-height: 1.45;
    color: #FFFFFF;
    margin-bottom: 24px;
    font-weight: 800;
}

.footer-cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 45px;
}

.footer-direct-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
}

.btn-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    border-radius: 4px;
    text-align: center;
}

.btn-gold {
    background: var(--gold);
    color: #FFFFFF;
}

.btn-gold:hover {
    background: var(--gold-soft);
    transform: translateY(-1px);
}

.btn-navy {
    background: rgba(255, 255, 255, 0.03);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-navy:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.btn-cta .btn-main {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.btn-cta .btn-sub {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.65;
}

.footer-bottom-info {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 50px;
    text-align: center;
    font-size: 0.85rem;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.footer-bottom-info p {
    margin-bottom: 8px;
}

.footer-way-to-come {
    margin: 12px 0 16px;
}

.footer-link-gold {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: 1px solid rgba(184, 155, 94, 0.4);
    padding-bottom: 2px;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-link-gold:hover {
    color: #FFFFFF;
    border-bottom-color: #FFFFFF;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.22);
    margin-top: 20px;
}

/* =============================================================
 * Mobile Sticky CTA Banner (Elegant Ivory Glass)
 * ============================================================= */
.mobile-sticky-cta {
    position: fixed;
    bottom: -90px;
    left: 0;
    width: 100%;
    background: rgba(247, 243, 234, 0.96); /* Ivory glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(7, 17, 32, 0.03);
    padding: 14px 20px;
    z-index: 99;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-sticky-cta.show {
    bottom: 0;
}

.mobile-sticky-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-sticky-grid a, .mobile-sticky-grid button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.sticky-call-btn {
    background: var(--gold);
    color: #FFFFFF;
}

.sticky-sms-btn {
    background: var(--navy);
    color: #FFFFFF;
}

/* =============================================================
 * Scroll Reveal Transitions
 * ============================================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* =============================================================
 * Awards Commendations Strip
 * ============================================================= */
.awards-strip-section {
    background-color: var(--navy);
    border-bottom: 1px solid rgba(184, 155, 94, 0.15);
    padding: 24px 16px;
    text-align: center;
}

.awards-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.award-icon {
    font-size: 1.25rem;
}

.award-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white-warm);
    letter-spacing: -0.02em;
}

.award-divider {
    width: 1px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.15);
}

/* =============================================================
 * Section 7.5: 실시간 재원 및 대기 현황
 * ============================================================= */
.status-waiting-section {
    background-color: var(--white-warm);
    padding: 110px 24px;
}

.status-header {
    margin-bottom: 45px;
    text-align: center;
}

.status-sub-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.03em;
    margin-bottom: 8px;
    display: block;
}

.status-main-desc {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin: 0;
}

.status-grid-new {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 55px;
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.status-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.status-label-bottom {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-top: 4px;
}

.status-big-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: -0.04em;
    line-height: 1;
}

.status-stat-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(7, 17, 32, 0.08);
}

/* FAQ Structured Bullet Lists */
.faq-list {
    margin: 14px 0 0 4px;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-list li {
    position: relative;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-secondary);
    padding-left: 18px;
}

.faq-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 0.75rem;
}

.faq-list li strong {
    color: var(--text-primary);
    font-weight: 700;
}

.waiting-notice-box-premium {
    background-color: #FFFFFF;
    border: 1px solid rgba(184, 155, 94, 0.2);
    border-radius: 8px;
    padding: 40px 35px;
    max-width: 680px;
    margin: 40px auto 0;
    text-align: left;
    box-shadow: 0 10px 30px rgba(184, 155, 94, 0.04);
}

.waiting-badge-premium {
    background-color: var(--gold);
    color: var(--white-warm);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.waiting-title-premium {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.4;
}

.waiting-strategy-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.waiting-strategy-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.waiting-star {
    color: var(--gold);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-shrink: 0;
}

.waiting-strategy-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.waiting-strategy-text strong {
    color: var(--navy);
    font-weight: 800;
}

/* =============================================================
 * Collapsible Tuition Calculator Accordion
 * ============================================================= */
.pricing-accordion {
    margin-top: 35px;
    border-top: 1px solid rgba(184, 155, 94, 0.15);
}

.pricing-accordion-trigger {
    background: none;
    border: none;
    width: 100%;
    padding: 24px 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pricing-accordion-trigger:hover {
    color: var(--gold);
}

.pricing-accordion-arrow {
    font-size: 0.65rem;
    color: var(--gold);
    transition: transform 0.4s ease;
}

.pricing-accordion.active .pricing-accordion-arrow {
    transform: rotate(180deg);
}

.pricing-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-accordion.active .pricing-accordion-content {
    /* expanded dynamically via scrollHeight */
}

/* Tuition Range Slider */
.calc-slider-wrapper {
    max-width: 360px;
    margin: 0 auto 30px;
    position: relative;
    padding: 0 10px;
}

.calc-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 3px;
    background: rgba(7, 17, 32, 0.08);
    border-radius: 2px;
    outline: none;
    margin: 25px 0 15px;
    cursor: pointer;
}

/* Chrome/Safari thumb styling */
.calc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 5px rgba(7, 17, 32, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--gold-soft);
}

/* Firefox thumb styling */
.calc-range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 5px rgba(7, 17, 32, 0.15);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.calc-range-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    background: var(--gold-soft);
}

.calc-slider-ticks {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
}

.calc-slider-ticks span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 700;
    cursor: pointer;
}

.btn-way {
    display: inline-flex;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 10px;
    width: auto;
}

/* =============================================================
 * RESPONSIVENESS & MOBILE-FIRST OPTIMIZATIONS
 * ============================================================= */

@media (max-width: 768px) {
    section {
        padding: 55px 20px; /* Reduced vertical padding on mobile */
    }
    
    .section-title {
        font-size: 1.95rem; /* Enlarge section title on mobile */
        line-height: 1.4;
    }
    
    .section-desc {
        font-size: 1.02rem;
        line-height: 1.75;
    }

    .editorial-image-box {
        margin-top: 25px; /* Reduced margin above images */
        border-radius: 0;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .value-prop-section .editorial-image-box {
        aspect-ratio: 1.3;
    }

    .team-why-section .editorial-image-box {
        aspect-ratio: 1.2;
    }
    
    /* Hero Title fluid sizing */
    .hero-section {
        height: 100dvh;
        min-height: 560px;
        padding-top: 80px;
        padding-bottom: 75px;
        align-items: flex-start;
    }

    .hero-content {
        margin-top: 13dvh;
    }

    .hero-title {
        font-size: 1.95rem; /* Enlarge hero title on mobile */
        line-height: 1.4;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1.02rem; /* Enlarge hero subtitle on mobile */
        line-height: 1.7;
        margin-bottom: 0;
    }

    .hero-awards-strip {
        padding: 12px 10px;
    }

    .hero-awards-container {
        gap: 12px;
    }

    .hero-awards-container .award-item {
        gap: 4px;
    }

    .hero-awards-container .award-icon {
        font-size: 1rem;
    }

    .hero-awards-container .award-text {
        font-size: 0.72rem;
    }

    .hero-awards-container .award-divider {
        height: 12px;
    }

    .btn {
        width: 100%;
        padding: 16px 20px;
    }
    
    .section-title-premium {
        font-size: 1.68rem; /* Enlarge premium section title on mobile */
        line-height: 1.4;
        margin-bottom: 35px;
    }

    /* Timeline Flow mobile styles */
    .flow-timeline {
        flex-direction: column;
        gap: 30px;
        margin: 35px auto 0;
        padding-left: 15px;
    }
    
    @keyframes flowDashVert {
        from {
            background-position: 0 0;
        }
        to {
            background-position: 0 12px;
        }
    }
    
    .flow-line {
        top: 24px;
        bottom: 24px;
        left: 38px;
        right: auto;
        width: 1px;
        height: auto;
        background: repeating-linear-gradient(180deg, rgba(184,155,94,0.3), rgba(184,155,94,0.3) 6px, transparent 6px, transparent 12px);
        background-size: 100% 12px;
        transform: none;
        animation: flowDashVert 0.8s linear infinite;
    }
    
    .flow-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 20px;
        width: 100%;
    }
    
    .flow-step-num {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    /* Class Structure (Unified Timeline Card) mobile styles */
    .class-structure-section {
        padding: 80px 20px 30px;
    }

    .class-structure-section .editorial-block {
        margin-bottom: 30px;
    }

    .section-desc-light {
        font-size: 0.95rem;
        margin-top: 10px;
    }

    .structure-timeline-card {
        padding: 30px 20px;
        margin-top: 25px;
    }
    
    .timeline-step {
        gap: 16px;
    }
    
    .step-num-badge {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    
    .step-title {
        font-size: 1.15rem;
    }
    
    .step-time {
        font-size: 0.75rem;
        padding: 3px 10px;
    }
    
    .step-description {
        font-size: 0.88rem;
        line-height: 1.6;
    }
    
    .timeline-divider {
        margin: 20px 0 20px 52px;
        width: calc(100% - 52px);
    }
    
    /* Roadmap layout compact 2x2 grid */
    .roadmap-compact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .roadmap-compact-card {
        padding: 22px 14px;
        min-height: 175px;
        border-radius: 6px;
    }
    
    .roadmap-compact-card h3 {
        font-size: 1.15rem; /* Significantly enlarged for readability */
        font-weight: 800;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .roadmap-badge-inline {
        font-size: 0.85rem; /* Significantly enlarged for readability */
        padding: 4px 12px;
        margin-bottom: 10px;
    }
    
    .roadmap-mini-btn {
        font-size: 0.85rem; /* Enlarge button text */
        font-weight: 700;
    }
    
    .card-highlight-badge {
        font-size: 0.6rem;
        padding: 1px 6px;
        right: 8px;
        top: -8px;
    }
    
    /* Team Block spacing */
    .team-main-concept {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .team-sub-concept {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .team-reassurance-box {
        padding: 30px 20px;
        margin-top: 40px;
        border-radius: 6px;
    }
    
    .team-reassurance-box p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .reassurance-title-gold {
        font-size: 1.15rem !important;
        margin-bottom: 10px !important;
    }
    
    .reassurance-desc-white {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }
    
    .status-header {
        margin-bottom: 25px;
    }
    
    .status-sub-title {
        font-size: 0.8rem;
    }
    
    .status-main-desc {
        font-size: 1.1rem;
    }
    
    .status-grid-new {
        gap: 20px;
        margin-bottom: 40px;
        flex-direction: column;
    }
    
    .status-big-number {
        font-size: 3.8rem;
    }
    
    .status-label-bottom {
        font-size: 0.95rem;
    }
    
    .status-stat-divider {
        width: 60px;
        height: 1px;
        background-color: rgba(7, 17, 32, 0.08);
        margin: 10px 0;
    }
    
    /* Pricing Card clean typography */
    .pricing-card-clean {
        padding: 40px 20px;
        border-radius: 6px;
    }
    
    .pricing-statement {
        font-size: 1.1rem;
    }
    
    .price-val {
        font-size: 2.6rem;
    }
    
    .price-condition {
        font-size: 0.82rem;
    }
    
    /* FAQ trigger text size */
    .faq-flat-trigger {
        padding: 20px;
        font-size: 1.05rem;
    }
    
    .faq-flat-inner {
        padding: 0 20px 22px;
        font-size: 0.92rem;
    }
    
    /* Footer details */
    .footer-cta-container {
        padding: 100px 20px 120px; /* Cushioned footer */
    }
    
    .footer-cta-content {
        margin-bottom: 60px;
    }
    
    .footer-cta-title {
        font-size: 1.65rem;
        line-height: 1.4;
    }
    
    .footer-cta-desc {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    /* Opening Process Layout (Flow) mobile styles */
    .process-section-title {
        margin: 45px auto 25px;
    }
    
    .process-main-title {
        font-size: 1.35rem;
    }

    .opening-process-flow {
        gap: 15px;
        margin-bottom: 35px;
    }

    .process-flow-step {
        padding: 20px;
        gap: 15px;
    }
    
    .process-flow-num {
        font-size: 1.5rem;
    }

    .process-flow-title {
        font-size: 1.05rem;
        gap: 8px;
    }

    .process-flow-desc {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 14px;
    }
    .logo-img {
        height: 36px; /* Enlarged mobile logo */
    }
    .logo-text {
        font-size: 0.88rem;
    }
    .logo-sub {
        display: none;
    }
    .header-btn {
        padding: 5px 10px;
        font-size: 0.68rem;
    }
}

/* =============================================================
 * HEADER - 로고 + 4개 메뉴 프리미엄 통합 스타일
 * ============================================================= */

/* 로고 영역 */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}


/* 로고 오른쪽 4개 메뉴 전체 */
.header-menu-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-left: auto;
}


/* =============================================================
 * 정규교실안내
 * ============================================================= */

.header-menu-group .logo-text {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 6px 12px;

    color: var(--navy) !important;
    background: rgba(184, 155, 94, 0.08) !important;

    border: 1px solid rgba(184, 155, 94, 0.45);
    border-radius: 20px;

    text-decoration: none !important;
    cursor: pointer;

    transition: all 0.3s ease;
}

.header-menu-group .logo-text .logo-sub {
    display: inline-flex !important;
    align-items: center;

    color: var(--navy) !important;

    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;

    margin: 0 !important;
    padding: 0 !important;

    border: none !important;
    opacity: 1 !important;
}


}


/* 정규교실안내 hover */
.header-menu-group .logo-text:hover {
    color: var(--gold) !important;
    background: rgba(184, 155, 94, 0.16) !important;

    border-color: var(--gold);

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(184, 155, 94, 0.12);
}

.header-menu-group .logo-text:hover .logo-sub {
    color: var(--gold) !important;
}

.header-menu-group .logo-text:hover .logo-sub::after {
    transform: translateX(3px);
}


/* =============================================================
 * 찾아오시는 길 / 월별 천문현상 / 별바다 신문
 * ============================================================= */

.header-menu-group .header-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    padding: 6px 12px;

    color: var(--navy) !important;
    background: rgba(184, 155, 94, 0.08) !important;

    border: 1px solid rgba(184, 155, 94, 0.45);
    border-radius: 20px;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.02em;

    white-space: nowrap;

    cursor: pointer;

    transition: all 0.3s ease;
}


}


/* 3개 메뉴 hover */
.header-menu-group .header-btn:hover {
    color: var(--gold) !important;
    background: rgba(184, 155, 94, 0.16) !important;

    border-color: var(--gold);

    transform: translateY(-1px);

    box-shadow: 0 4px 12px rgba(184, 155, 94, 0.12);
}

.header-menu-group .header-btn:hover::after {
    transform: translateX(3px);
}


/* =============================================================
 * 모바일
 * ============================================================= */

@media (max-width: 768px) {

    .header-container {
        padding: 10px 14px;
    }

    .header-menu-group {
        gap: 4px;
    }

    .header-menu-group .logo-text {
        padding: 5px 8px;
    }

    .header-menu-group .logo-text .logo-sub {
        font-size: 0.68rem !important;
    }

    .header-menu-group .header-btn {
        padding: 5px 8px;
        font-size: 0.64rem;
    }

    .header-menu-group .logo-text .logo-sub::after,
    .header-menu-group .header-btn::after {
        margin-left: 3px;
        font-size: 0.82rem;
    }
}


/* =============================================================
 * 아주 작은 화면
 * ============================================================= */

@media (max-width: 480px) {

    .header-container {
        padding: 8px 10px;
    }

    .logo-img {
        height: 36px;
    }

    .header-menu-group {
        gap: 3px;
    }

    .header-menu-group .logo-text {
        padding: 4px 6px;
    }

    .header-menu-group .logo-text .logo-sub {
        font-size: 0.58rem !important;
    }

    .header-menu-group .header-btn {
        padding: 4px 6px;
        font-size: 0.55rem;
    }

    /* 작은 화면에서는 화살표를 숨겨 공간 확보 */
    .header-menu-group .logo-text .logo-sub::after,
    .header-menu-group .header-btn::after {
        display: none;
    }
}

/* =========================================================
   하단 SNS 아이콘 4개
========================================================= */

.footer-sns-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 28px auto 24px;
    flex-wrap: wrap;
}

.footer-sns-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-sns-links a:hover {
    transform: translateY(-4px);
    opacity: 0.8;
}

.footer-sns-links img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   하단 천문대 로고
========================================================= */

.footer-brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 24px;
}

.footer-brand-logo a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 280px;
    width: 100%;
}

.footer-brand-logo img {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.footer-brand-logo a:hover img {
    opacity: 0.8;
}


/* =========================================================
   모바일 화면
========================================================= */

@media (max-width: 600px) {
    .footer-sns-links {
        gap: 14px;
        margin: 24px auto 20px;
    }

    .footer-sns-links a {
        width: 42px;
        height: 42px;
    }

    .footer-brand-logo img {
        max-width: 200px;
    }
}

/* 하단 저작권 및 담당자 안내 글씨 진하게 */
.footer-copy {
    color: #B8C0CC;
    font-weight: 600;
    line-height: 1.9;
}