/* ══════════════════════════════════════════════════════════════════════════
   FOOTER (Figma "08 Footer", node 284:2336) — no background graphic
   CTA → sitemap + language → slogan + logo / SNS → company · copyright
══════════════════════════════════════════════════════════════════════════ */

.site-footer {
    --icon-sns-youtube: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12a31 31 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31 31 0 0 0 24 12a31 31 0 0 0-.5-5.8zM9.6 15.6V8.4l6.2 3.6-6.2 3.6z'/%3E%3C/svg%3E");
    --icon-sns-instagram: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='5.5'/%3E%3Ccircle cx='12' cy='12' r='4.3'/%3E%3Ccircle cx='17.5' cy='6.5' r='1.1' fill='%23000' stroke='none'/%3E%3C/svg%3E");
    --icon-sns-threads: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M17.2 8.2C16.3 5.6 14.3 4 11.6 4 7.6 4 5 7.2 5 12s2.6 8 6.8 8c3.5 0 6.1-2 6.1-5.1 0-2.7-2.2-4.4-5.5-4.4-2.3 0-4 1.3-4 3.1 0 1.6 1.4 2.7 3.3 2.7 3 0 4.4-2.6 4-7'/%3E%3C/svg%3E");
    --icon-sns-linkedin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h3v11H4zM5.5 4a1.75 1.75 0 1 1 0 3.5 1.75 1.75 0 0 1 0-3.5zM10 9h2.9v1.5c.4-.8 1.5-1.7 3.1-1.7 3.3 0 4 2.1 4 4.9V20h-3v-5.6c0-1.3 0-3-1.9-3s-2.1 1.4-2.1 2.9V20H10z'/%3E%3C/svg%3E");
    --icon-sns-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.8 3h3.2l-7 8 8.2 10h-6.4l-5-6.2L5 21H1.8l7.5-8.6L1.5 3h6.6l4.5 5.7L17.8 3zm-1.1 16.2h1.8L7.4 4.7H5.5l11.2 14.5z'/%3E%3C/svg%3E");
    position: relative;
    padding: 160px var(--section-px) 26px;
    background-color: var(--color-black);
    color: var(--color-white);
}

/* ── CTA ─────────────────────────────────────────────────────────────────── */

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 133px;
}

.footer-cta__title {
    font-size: clamp(24px, 2.22vw, 32px);
    font-weight: var(--fw-semibold);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.footer-cta__desc {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.footer-cta .btn-group {
    margin-top: 10px;
}

/* ── Rows ────────────────────────────────────────────────────────────────── */

.footer-top,
.footer-middle,
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--gap-md);
    padding-bottom: 20px;
}

.footer-sitemap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 60px;
}

.footer-col__title {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: var(--fw-semibold);
    line-height: 1;
    text-transform: uppercase;
}

.footer-col__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
}

.footer-col__list a {
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-col__list a:hover {
    color: var(--color-key);
}

/* Language selector — KR EN JP, plain text */
.footer-lang {
    display: flex;
    gap: 20px;
    list-style: none;
    font-size: 14px;
    font-weight: var(--fw-semibold);
    line-height: 1;
}

.footer-lang a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
}

.footer-lang a:hover,
.footer-lang a.is-active {
    color: var(--color-white);
}

/* Slogan · logo · SNS */
.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--gap-md);
    padding-bottom: 20px;
}

.footer-slogan {
    font-size: clamp(36px, 4.44vw, 64px);
    font-weight: 300;
    line-height: 0.94;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.footer-utility {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--gap-md);
    margin-left: auto;
    padding-top: 10px;
}

/* logo sits at the right edge, SNS to its left */
.footer-logo {
    display: block;
    order: 2;
    color: var(--color-white);
}

.footer-sns {
    order: 1;
}

.footer-logo svg,
.footer-logo img {
    display: block;
    width: auto;
    height: 40px;
}

.footer-sns {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-sns__link {
    display: block;
    width: 28px;
    height: 28px;
    background-color: var(--color-white);
    -webkit-mask: var(--sns-icon) center / contain no-repeat;
    mask: var(--sns-icon) center / contain no-repeat;
    transition: background-color 0.3s ease;
}

.footer-sns__link:hover {
    background-color: var(--color-key);
}

.footer-sns__link--youtube   { --sns-icon: var(--icon-sns-youtube); }
.footer-sns__link--instagram { --sns-icon: var(--icon-sns-instagram); }
.footer-sns__link--threads   { --sns-icon: var(--icon-sns-threads); }
.footer-sns__link--linkedin  { --sns-icon: var(--icon-sns-linkedin); }
.footer-sns__link--x         { --sns-icon: var(--icon-sns-x); }

/* Company · copyright */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.footer-meta > span:not(.footer-meta__sep) + span:not(.footer-meta__sep) {
    margin-left: 10px;
}

.footer-meta__sep {
    margin-inline: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-meta a {
    transition: color 0.3s ease;
}

.footer-meta a:hover {
    color: var(--color-key);
}

/* ── Tablet / mobile ─────────────────────────────────────────────────────── */

@media screen and (max-width: 980px) {
    .site-footer {
        padding-top: 100px;
    }

    .footer-cta {
        padding-bottom: 80px;
    }

    .footer-top {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .footer-sitemap {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px 20px;
        width: 100%;
    }

    .footer-middle {
        flex-direction: column;
        gap: 30px;
    }

    .footer-utility {
        width: 100%;
        padding-top: 0;
    }

    .footer-sns {
        margin-right: auto;
    }
}

@media screen and (max-width: 767px) {
    .site-footer {
        padding-top: 80px;
    }

    .footer-sitemap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-slogan {
        font-size: 34px;
    }

    .footer-logo svg,
    .footer-logo img {
        height: 32px;
    }

    .footer-sns__link {
        width: 24px;
        height: 24px;
    }

    .footer-meta {
        font-size: 13px;
    }

    /* company info: one item per line on mobile */
    .footer-bottom .footer-meta:first-child {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom .footer-meta:first-child .footer-meta__sep {
        display: none;
    }
}

/* WPML's own footer switcher — replaced by .footer-lang */
.wpml-ls-statics-footer {
    display: none !important;
}
