@charset "utf-8";

@font-face {
    font-family: "Aritaburi";
    font-weight: normal;
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Arita-buri-SemiBold.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "GounBatang";
    font-weight: normal;
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunBatang-Regular.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "GounBatang";
    font-weight: 700;
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunBatang-Bold.woff") format("woff");
    font-display: swap;
}

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

.pc_br {
    display: inline;
}

.m_br {
    display: none;
}

@media (max-width: 1024px) {
    .pc_br {
        display: none;
    }

    .m_br {
        display: inline;
    }
}

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

body {
    background-color: #ffffff;
    font-family: "Pretendard", sans-serif;
    line-height: 1.6;
    /* Explicitly #ffffff per Project Info */
    color: #333333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul,
li {
    list-style: none;
}

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

/* Typography Helpers - Component Classes */
/* Typography Helpers - Component Classes (Redesigned) */
.section-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 30px;
}

.section-sub {
    display: inline-block;
    position: relative;
    font-family: "Pretendard", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #e2b07e;
    text-transform: uppercase;
    letter-spacing: 3px;
    /* Primary */
    margin-bottom: 20px;
    padding-bottom: 15px;
    /* Space for line */
}

.section-sub::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 10px;
    background: #e2b07e;
    content: "";
    transform: translateX(-50%);
    opacity: 0.6;
}

.section-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.25;
    color: #111111;
    letter-spacing: -0.02em;
    margin-top: 10px;
}

.section-desc {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
    margin-top: 24px;
    margin-left: auto;
    margin-right: auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-40 {
    margin-bottom: 40px;
}

/* High-End Container */
.container {
    position: relative;
    max-width: 1720px;
    /* Wider layout */
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .section-title {
        font-size: 40px;
    }

    .section-desc {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 30px;
    }

    .container {
        padding: 0 20px;
    }

    .section-desc {
        padding: 0 10px;
        font-size: 15px;
    }
}

/* ==========================================================================
   2. Header (Glassmorphism & High-End)
   ========================================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

#header.scrolled {
    height: 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    background: rgba(255, 255, 255, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

#header .logo {
    display: block;
    width: 150px;
}

#header .logo a {
    display: block;
    position: relative;
    width: 100%;
}

.logo-white,
.logo-color {
    display: block;
    width: 100%;
    transition: opacity 0.3s ease;
}

/* Default State (Light Header) */
.logo-white {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.logo-color {
    position: relative;
    opacity: 1;
}

/* Scrolled State (White Header) */
#header.scrolled .logo-white {
    opacity: 0;
}

#header.scrolled .logo-color {
    opacity: 1;
}

@media (max-width: 1024px) {
    #header .logo {
        width: 160px;
    }
}

.gnb-wrap {
    display: block;
}

.gnb {
    display: flex;
    gap: 50px;
}

.gnb li a {
    position: relative;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: #111111;
}

.gnb li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: #e2b07e;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    content: "";
}

.gnb li a:hover {
    color: #e2b07e;
}

.gnb li a:hover::after {
    width: 100%;
}

/* Scrolled State for Menu */
#header.scrolled .gnb li a {
    color: #333333;
}

#header.scrolled .gnb li a:hover {
    color: #e2b07e;
}

.m-menu-btn {
    display: none;
    font-size: 24px;
    color: #111111;
    cursor: pointer;
}

#header.scrolled .m-menu-btn {
    color: #000000;
}

@media (max-width: 1024px) {
    .gnb-wrap {
        display: none;
    }

    .m-menu-btn {
        display: block;
    }

    #header {
        height: 70px;
    }

    #header.scrolled {
        height: 70px;
    }
}

/* ==========================================================================
   3. Hero Section (Bright & Elegant)
   ========================================================================== */
.hero-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: url("/img/main_slide/m1.jpeg") no-repeat 50% 50%;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(253, 251, 248, 0.9) 0%, rgba(253, 251, 248, 0.5) 100%);

    backdrop-filter: contrast(80%);
    mix-blend-mode: overlay;

}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-wrap::after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(253, 251, 248, 0.5) 0%, rgba(253, 251, 248, 1) 100%);
    content: "";
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
    color: #111111;
    text-align: center;
}

.hero-icon {
    display: inline-block;
    font-size: 32px;
    color: #e2b07e;
    animation: float 3s ease-in-out infinite;
    margin-bottom: 24px;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.hero-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ad8957;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.hero-title {
    font-family: "Aritaburi";
    font-size: 56px;
    font-weight: 400;
    line-height: 1.4;
    color: #111111;
    margin-bottom: 80px;
}

.hero-desc {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #929292;
    margin-top: 40px;
}

.scroll-down {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    bottom: 40px;
    left: 50%;
    z-index: 10;
    color: #888888;
    transition: color 0.3s;
    cursor: pointer;
    transform: translateX(-50%);
}

.scroll-down i {
    font-size: 24px;
    animation: scrollBounce 2s infinite;
    margin-bottom: 8px;
}

.scroll-down span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes scrollBounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(10px);
    }

    60% {
        transform: translateY(5px);
    }
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 46px;
    }
}

@media (max-width: 767px) {
    .hero-subtitle {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 16px;
        margin-top: 10px;
    }
}

/* ==========================================================================
   4. Story Section (Scrollytelling Bright)
   ========================================================================== */
#story {
    position: relative;
    overflow: hidden;
    background: #fdfbf8;
    color: #111111;
}

.story-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    text-align: center;

}

.story-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(253, 251, 248, 0.95), rgba(253, 251, 248, 0.95));
    backdrop-filter: contrast(15%);
    mix-blend-mode: overlay;
}

/* Backgrounds for each story slice */
.story-section.s1 {
    background: url("/img/s1.webp") no-repeat 50% 50%;
    background-size: cover;
}

.story-section.s2 {
    background: url("/img/s2.webp") no-repeat 50% 50%;
    background-attachment: fixed;
    background-size: cover;
}

.story-section.s3 {
    background: url("/img/s3.webp") no-repeat 50% 50%;
    background-size: cover;
}

.story-text-box {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding: 0 20px;
}

.story-kicker {
    display: inline-block;
    font-family: "Aritaburi";
    font-size: 18px;
    font-style: italic;
    color: #ad8957;
    margin-bottom: 20px;
}

.story-main {
    font-family: "Aritaburi";
    font-size: 50px;
    font-weight: 700;
    line-height: 1.3;
    color: #111111;
    margin-bottom: 30px;
}

.story-sub {
    font-size: 19px;
    font-weight: 300;
    line-height: 1.8;
    color: #555555;
}

.element-visual-box {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.element-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    background: #ffffff;
    font-family: "Aritaburi";
    font-size: 20px;
    color: #444444;
    transition: all 0.4s ease;
}

.element-circle:hover {
    box-shadow: 0 10px 25px rgba(226, 176, 126, 0.2);
    background: rgba(226, 176, 126, 0.05);
    color: #e2b07e;
    border-color: #e2b07e;
    transform: translateY(-10px);
}

@media (max-width: 1024px) {
    .story-main {
        font-size: 40px;
    }

    .story-section {
        height: auto;
        min-height: 600px;
        padding: 100px 0;
    }
}

@media (max-width: 767px) {
    .story-main {
        font-size: 26px;
    }

    .story-sub {
        font-size: 14px;
    }

    .element-visual-box {
        gap: 15px;
    }

    .element-circle {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* ==========================================================================
   5. Philosophy Section (Editorial White)
   ========================================================================== */
#philosophy {
    position: relative;
    padding: 160px 0;
    background-color: #fff;
}

.philosophy-wrap {
    display: flex;
    gap: 100px;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--c-white);
}

.philosophy-img {
    width: 50%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

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

.philo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.label-text {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #e2b07e;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #e2b07e;
    margin-bottom: 40px;
}

.philo-title {
    font-family: "Aritaburi";
    font-size: 40px;
    font-weight: 600;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 40px;
}

.philo-desc {
    padding: 40px 0;
    font-family: "Aritaburi";
    font-size: 20px;
    font-weight: 600;
    line-height: 1.8;
    color: var(--c-text-gray);
    border-top: 1px solid rgba(226, 176, 126, 0.3);
    border-bottom: 1px solid rgba(226, 176, 126, 0.3);
    margin-bottom: 50px;
}

.philo-list {
    display: inline-block;
    text-align: left;
}

.philo-list li {
    display: flex;

    gap: 10px;
    align-items: center;
    font-size: 20px;
    color: #292929;
    margin-bottom: 15px;
}

.philo-list li i {
    font-size: 24px;
    color: #e2b07e;
}

.philo-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    #philosophy {
        padding: 100px 20px;
    }

    .philosophy-wrap {
        gap: 50px;
        align-items: center;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .philosophy-img {
        width: 100%;
    }

    .philo-content {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    .label-text {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .philo-desc {
        padding: 20px 0;
        font-size: 16px;
        margin-bottom: 20px;
    }

    .philo-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .philo-list {
        display: inline-block;
        width: auto;
        padding: 0;
        text-align: left;
    }

    .philo-list li {
        display: flex;
        gap: 15px;
        align-items: center;
        padding: 0;
        font-size: 16px;
        /* Align icon with text center */
        margin-bottom: 30px;
        /* Spacing between items */
    }

    .philo-list li i {
        flex-shrink: 0;
        font-size: 20px;
        color: #e2b07e;
    }
}

/* ==========================================================================
   6. Program Section (Cards)
   ========================================================================== */
#program {
    /* Very light grey */
    padding: 160px 0;
    background-color: #f7f8fa;
}

.program-list {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 80px;
}

.program-item {
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    background: #ffffff;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.program-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(-15px);
    border-color: #e2b07e;
}

.p-img-box {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.p-img-box img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    object-fit: cover;
}

.program-item:hover .p-img-box img {
    transform: scale(1.1);
}

.p-txt-box {
    padding: 40px;
}

.p-cat {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #e2b07e;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.p-tit {
    font-family: "Aritaburi";
    font-size: 24px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 20px;
}

.p-desc {
    min-height: 75px;
    font-size: 15px;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 24px;
}

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

.p-tag {
    padding: 6px 14px;
    border-radius: 30px;
    background: #f5f5f5;
    font-size: 13px;
    color: #888888;
    transition: all 0.3s;
}

.program-item:hover .p-tag {
    background: #e2b07e;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .program-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .program-list {
        grid-template-columns: 1fr;
    }
    .p-txt-box {
    padding: 20px;
}
}

/* ==========================================================================
   7. Process Section
   ========================================================================== */
#process {
    padding: 160px 0;
    background-color: #ffffff;
}

.process-list {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 80px;
    border-top: 1px solid #eeeeee;
    padding-top: 60px;
}

.process-item {
    flex: 1;
    position: relative;
    padding-right: 40px;
}

.process-item:last-child {
    padding-right: 0;
}

.process-num {
    display: block;
    font-family: "Aritaburi";
    font-size: 60px;
    font-weight: 900;
    color: #e2b07e;
    transition: color 0.3s;
    margin-bottom: 0px;
}

.process-item:hover .process-num {
    color: #f0f0f0;
}

.process-tit {
    font-size: 22px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 16px;
}

.process-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #777777;
}

@media (max-width: 767px) {
    .process-list {
        gap: 40px;
        align-items: center;
        flex-direction: column;
        padding-top: 40px;
    }

    .process-item {
        text-align: center;
        padding-right: 0;
    }
}

/* Mobile Line Break */
.m_br {
    display: none;
}

@media (max-width: 767px) {
    .m_br {
        display: inline;
    }
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */
#reviews {
    padding: 160px 0;
    background-color: #f9f9f9;
}

.review-banner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: -100px;
}

.review-banner img {
    object-position: center 30%;
}

.reviewSwiper {
    position: relative;
    z-index: 2;
    padding: 0 20px 60px 20px !important;
}

.review-card {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    background: #ffffff;
    /* Center align for card content */
    text-align: center;
}

.r-img-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
}

.r-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-stars {
    display: flex;
    gap: 4px;
    font-size: 14px;
    color: #e2b07e;
    margin-bottom: 16px;
}

.r-text {
    min-height: 80px;
    font-size: 16px;
    line-height: 1.6;
    color: #444444;
    word-break: keep-all;
    margin-bottom: 24px;
}

.r-author {
    width: 100%;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    border-top: 1px solid #eeeeee;
    padding-top: 16px;
}

@media (max-width: 767px) {
    .r-img-box {
        height: 200px;
    }
}

/* ==========================================================================
   9. CTA & FAQ
   ========================================================================== */
/* CTA Section Dark */
/* CTA Section Dark */
.section-dark {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    background: url("/img/online_bg.png") no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    color: #ffffff;
}

.section-dark .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

.section-dark .section-title {
    font-size: 54px;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 24px;
}

.section-dark .section-desc {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 70px;
    margin: 0 auto;
    padding: 20px 60px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(226, 176, 126, 0.4);
    background: #e2b07e;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    animation: btnGlow 3s infinite;
    transition: all 0.3s ease;
}

.btn-primary i {
    font-size: 24px;
    margin-right: 10px;
}

@keyframes btnGlow {
    0% {
        box-shadow: 0 0 20px rgba(226, 176, 126, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(226, 176, 126, 0.8);
    }

    100% {
        box-shadow: 0 0 20px rgba(226, 176, 126, 0.4);
    }
}

.btn-primary:hover {
    background: #ffffff;
    color: #e2b07e;
    transform: translateY(-5px);
}

.cta-phone-box {
    font-family: "Aritaburi";
    font-size: 36px;
    color: #e2b07e;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
    opacity: 1;
    margin-bottom: 40px;
}

.cta-phone-box i {
    font-size: 36px;
}

@media (max-width: 767px) {
    .section-dark .section-title {
        font-size: 32px;
    }

    .section-dark .section-desc {
        font-size: 16px;
    }

    .cta-phone-box {
        font-size: 34px;
        text-align: center;
    }

    .cta-phone-box i {
        font-size: 24px;
    }

    .btn-primary {
        width: 80%;
        height: 50px;
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* FAQ */
#faq {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 140px 0;
    background-color: #ffffff;
}

.faq-item {
    transition: border-color 0.3s;
    border-bottom: 1px solid #eeeeee;
}

.faq-item:hover {
    border-color: #e2b07e;
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-family: "Aritaburi";
    font-size: 22px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
}

.faq-q-text {
    display: flex;
    gap: 10px;
    align-items: center;
}

.q-icon {
    flex-shrink: 0;
    font-size: 24px;
    color: #e2b07e;
}

.toggle-icon {
    font-size: 20px;
    color: #999;
    transition: transform 0.3s;
}

.faq-q:hover .toggle-icon {
    color: #e2b07e;
}

.faq-a {
    display: block;

    /* Animation Init */
    max-height: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.6;
    line-height: 1.6;
    color: #666666;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 0px;
    opacity: 0;
    transform: translateY(-10px);
    /* Override display:none */
}

.faq-item.active .faq-a {
    max-height: 500px;
    /* Check content size */
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 24px;
}

.faq-item.active .faq-q {
    color: #e2b07e;
}

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

.faq-a-text {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 20px;
    color: #474747;
}

.a-icon {
    flex-shrink: 0;
    font-size: 24px;
    color: #cccccc;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .faq-q-text {
        gap: 10px;
        align-items: flex-start;
        justify-content: flex-start;
        font-size: 16px;
    }

    .faq-a-text {
        font-size: 14px;
    }
}

/* ==========================================================================
   10. Global Quick Menu & Utility
   ========================================================================== */
.quick-menu {
    /* Increased to ensure visibility */
    display: flex;
    gap: 15px;
    flex-direction: column;
    position: fixed;
    right: 30px;
    bottom: 50px;
    z-index: 9999;
    visibility: visible;
    opacity: 1;
}

.quick-item {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background: #ad8957;
    font-size: 24px;
    color: #4a3b2a;
    /* Dark brown */
    transition: all 0.3s ease;
    cursor: pointer;
    /* Low saturation beige */
    backdrop-filter: none;
}

.quick-item i {
    font-size: 24px;
    color: #fff;
    transition: color 0.3s ease;
}

.quick-item:hover {
    border: none;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: #c7b59d;
    /* Slightly darker beige on hover */
    transform: translateY(-5px);
}

.quick-item:hover i {
    color: #2e241b;
}

.quick-tooltip {
    position: absolute;
    right: 70px;
    visibility: hidden;
    padding: 6px 12px;
    border-radius: 4px;
    background: #cbd2ed;
    font-size: 12px;
    color: #2a2a2a;
    white-space: nowrap;
    transition: all 0.3s;
    opacity: 0;
}

.quick-item:hover .quick-tooltip {
    right: 75px;
    visibility: visible;
    opacity: 1;
}

.quick-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: none;
    border-radius: 50%;
    background: #d4c5b0;
    font-size: 20px;
    color: #4a3b2a;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: none;
}

.quick-top:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background: #c7b59d;
    color: #2e241b;
    transform: translateY(-5px);
}

/* Footer */
.footer-wrap {
    padding: 100px 0 40px;
    background: #111111;
    color: #888888;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-logo-text {
    display: block;
    font-family: "Aritaburi";
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 30px;
    opacity: 0.5;
}

.footer-item {
    font-size: 14px;
    color: #999999;
    margin-bottom: 12px;
}

.footer-item b {
    color: #dddddd;
    margin-right: 8px;
}

.sns-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.sns-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s;
}

.sns-icon:hover {
    background: #e2b07e;
}

.copyright {
    font-size: 12px;
    color: #444444;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 80px;
    border-top: 1px solid #222222;
    padding-top: 40px;
}

@media (max-width: 767px) {
    .footer-inner {
        gap: 40px;
        flex-direction: column;
        padding: 0 20px;
    }

    .quick-menu {
        gap: 10px;
        right: 10px;
        bottom: 30px;
    }

    .quick-item {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }

    .quick-top {
        width: 30px;
        height: 30px;
        margin: 0 auto;
        font-size: 15px;
    }
}

/* ==========================================================================
   11. Mobile Menu Overlay
   ========================================================================== */
.mobile-menu-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.95);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
}

.mobile-menu-overlay.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 40px;
    color: #ffffff;
    transition: transform 0.3s;
    cursor: pointer;
}

.mobile-menu-close:hover {
    color: #e2b07e;
    transform: rotate(90deg);
}

.mobile-menu-list {
    text-align: center;
}

.mobile-menu-list li {
    margin: 30px 0;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.mobile-menu-list li a {
    font-family: "Aritaburi";
    font-size: 28px;
    font-weight: 300;
    color: #ffffff;
}

.mobile-menu-list li a:hover {
    color: #e2b07e;
}

/* Animation Delays for Menu Items */
.mobile-menu-overlay.active .mobile-menu-list li:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(4) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(5) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-list li:nth-child(6) {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   12. Dark Mode Overrides
   ========================================================================== */
body.dark-mode {
    /* ==== 다크모드 이미지 오버레이(어두운 막) 조절 변수 ==== */
    --dm-hero-overlay: linear-gradient(180deg, rgba(16, 16, 24, 0.8) 0%, rgba(16, 16, 24, 0.6) 100%);
    --dm-hero-after: linear-gradient(180deg, rgba(16, 16, 24, 0.3) 0%, rgba(26, 26, 36, 1) 100%);
    --dm-story-overlay: rgba(26, 26, 36, 0.85);

    background-color: #1a1a24;
    color: #e6e6e6;
}

body.dark-mode #faq .section-title,
body.dark-mode .philo-title,
body.dark-mode .story-main,
body.dark-mode .faq-q span {
    color: #ffffff;
}

body.dark-mode .philo-desc,
body.dark-mode .story-sub,
body.dark-mode .faq-a-text p {
    color: #bbbbbb;
}

body.dark-mode #header {
    background: rgba(26, 26, 36, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode #header.scrolled {
    background: rgba(26, 26, 36, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .gnb li a,
body.dark-mode #header.scrolled .gnb li a {
    color: #eeeeee;
}

body.dark-mode .gnb li a:hover,
body.dark-mode #header.scrolled .gnb li a:hover {
    color: #e2b07e;
}

body.dark-mode .m-menu-btn,
body.dark-mode #header.scrolled .m-menu-btn {
    color: #eeeeee;
}

body.dark-mode .logo-color {
    display: none;
}
body.dark-mode .logo-white {
    display: block !important;
    opacity: 1 !important;
    position: relative;
}

body.dark-mode .hero-overlay {
    backdrop-filter: none;
    mix-blend-mode: normal;
    background: var(--dm-hero-overlay);
}

body.dark-mode .hero-wrap::after {
    background: var(--dm-hero-after);
}

body.dark-mode .hero-title {
    color: #ffffff;
}

body.dark-mode #story {
    background: #1a1a24;
}

body.dark-mode .story-section .overlay {
    backdrop-filter: none;
    mix-blend-mode: normal;
    background: var(--dm-story-overlay);
}

body.dark-mode .element-circle {
    background: #2a2a36;
    color: #cccccc;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .element-circle:hover {
    background: rgba(226, 176, 126, 0.1);
}

body.dark-mode #philosophy,
body.dark-mode .philosophy-wrap,
body.dark-mode #faq {
    background-color: #1a1a24;
}

body.dark-mode .philo-list li {
    color: #cccccc;
}

body.dark-mode .faq-q {
    border-bottom: 1px solid #333344;
}

body.dark-mode .footer-wrap {
    background: #111116;
}

/* ==========================================================
   다크모드 전용: 프로그램/후기 카드 테두리 및 태그 '골드' 상시 강조
   (바탕은 라이트로 유지하면서 다크 엣지 부여)
   ========================================================== */
body.dark-mode .program-item {
    border-color: #e2b07e;
}

body.dark-mode .review-card {
    border: 1px solid #e2b07e;
}

body.dark-mode .p-tag {
    background: #e2b07e;
    color: #ffffff;
}

/* Floating Theme Toggle Box */
.theme-float-btn {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    background: #2d2d2d;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-float-btn i {
    font-size: 20px;
    color: #ffffff;
}

.theme-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

body.dark-mode .theme-float-btn {
    background: #fff;
    border:1px solid #f6f6f6;
    color: #111111;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

body.dark-mode .theme-float-btn i {
    color: #111111;
}

body.dark-mode .theme-float-btn:hover {
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

@media (max-width: 767px) {
    .theme-float-btn {
        left: 20px;
        bottom: 20px;
        padding: 0;
        width: 35px;
        height: 35px;
        justify-content: center;
    }

    .theme-float-btn .text {
        display: none;
    }

    .theme-float-btn i {
        font-size: 18px;
        margin: 0;
    }
}
