:root {
    --font-serif: "NanumMyeongjo", "Nanum Myeongjo", serif;
    --font-sans: "Noto Sans KR", sans-serif;
    --color-text: #1c1c1c;
    --color-muted: #6b6b6b;
    --color-line: #d8d2c8;
    --color-bg: #faf8f4;
    --color-paper: #fff;
    --color-accent: #5a4a3a;
    --color-accent-soft: #8a7763;
    --container: min(90%, 1080px);
    --header-height: 92px;
    --logo-width: 280px;
    --logo-height: 84px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-text);
    background: var(--color-bg);
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.75;
    word-break: keep-all;
    letter-spacing: -0.01em;
}

body.is-nav-open {
    overflow: hidden;
}

.home-container {
    width: var(--container);
    margin: 0 auto;
}

.home-main {
    padding-top: 0;
}

.home-section {
    padding: clamp(72px, 10vw, 112px) 0;
    border-top: 1px solid var(--color-line);
}

.home-section:first-of-type {
    border-top: 0;
}

.home-section__title {
    margin-bottom: 20px;
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.02em;
}

.home-section__desc {
    color: var(--color-muted);
    font-size: 14px;
}

.home-section__head {
    margin-bottom: 36px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 2px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-btn--primary {
    padding: 0 22px;
    border: 1px solid var(--color-accent);
    background: var(--color-accent);
    color: #fff;
}

.home-btn--primary:hover {
    background: #463a2e;
    border-color: #463a2e;
}

.home-btn--ghost {
    margin-right: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    color: #fff;
}

.home-btn--ghost:hover {
    border-bottom-color: #fff;
}

.home-btn--lg {
    min-height: 46px;
    padding: 0 28px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-footer {
    border-top: 1px solid var(--color-line);
    background: #f0ebe3;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 20% 50% 30%;
    gap: 24px;
    align-items: stretch;
    /* width: var(--container); */
    width : 80%;
    margin: 0 auto;
    padding: 40px 0 48px;
}

.site-footer__col--logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-footer__col--info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.site-footer__col--copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}

.site-footer__logo {
    margin-bottom: 0;
}

.site-footer__logo img {
    display: block;
    width: var(--logo-width);
    height: var(--logo-height);
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
}

.site-footer__rows {
    display: grid;
    grid-template-columns: 7.25rem minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 10px;
    width: 100%;
    margin-bottom: 0;
}

.site-footer__row {
    display: contents;
}

.site-footer__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.site-footer__label-text {
    flex: 1 1 auto;
    min-width: 0;
}

.site-footer__label-colon {
    flex: 0 0 auto;
    margin-left: 2px;
}

.site-footer__values {
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-footer__value {
    display: inline;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.6;
}

.site-footer__value a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer__copy,
.site-footer__design {
    color: #9a9288;
    font-size: 12px;
}

.site-footer__design {
    margin-top: 8px;
}

.site-footer__design a {
    color: inherit;
}

@media (max-width: 768px) {
    :root {
        --header-height: 76px;
        --logo-width: 200px;
        --logo-height: 60px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 calc(40px + env(safe-area-inset-bottom, 0px));
    }

    .site-footer__col--logo {
        justify-content: center;
    }

    .site-footer__col--info {
        align-items: stretch;
        width: 100%;
    }

    .site-footer__rows {
        grid-template-columns: 6.5rem minmax(0, 1fr);
        column-gap: 12px;
    }

    .site-footer__col--copy {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .floating-reserve {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        left: auto;
        min-height: 42px;
        padding: 12px 18px;
        border: 1px solid var(--color-accent);
        text-align: center;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }
}

.floating-reserve {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10050;
    padding: 10px 16px;
    border: 1px solid var(--color-line);
    background: rgba(255, 255, 255, 0.94);
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.floating-reserve:hover {
    border-color: var(--color-accent);
}
