/* =========================================================
   WONA
   Web Of New Age
   Common Layout
========================================================= */


/* =========================================================
   RESET / BASE
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #111;
    font-family: "SUIT Variable", "SUIT", sans-serif;
    font-weight: 400;
    letter-spacing: -0.025em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font-family: "SUIT Variable", "SUIT", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   COMMON
========================================================= */

:root {
    --black: #111;
    --white: #fff;
    --gray-100: #f7f7f7;
    --gray-200: #ededed;
    --gray-300: #dcdcdc;
    --gray-400: #b8b8b8;
    --gray-500: #888;
    --gray-600: #666;
    --gray-700: #444;

    --content-width: 1440px;
    --side-padding: 60px;

    --header-height: 88px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}


.section-inner,
.header-inner,
.footer-inner {
    width: min(
        calc(100% - (var(--side-padding) * 2)),
        var(--content-width)
    );
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: relative;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    background: #fff;
    border-bottom: 1px solid #eee;
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.header-logo {
    flex: 0 0 auto;
    margin: 0;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    width: auto;
    height: 30px;
}


/* GNB */

.header-nav {
    margin-left: auto;
    margin-right: 60px;
}

.header-nav ul {
    display: flex;
    align-items: center;
    gap: 42px;
}

.header-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 88px;

    color: #222;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .04em;

    transition:
        color .3s var(--ease);
}

.header-nav a::after {
    position: absolute;
    left: 0;
    bottom: 25px;

    width: 0;
    height: 1px;

    background: #111;

    content: "";

    transition:
        width .3s var(--ease);
}

.header-nav a:hover::after {
    width: 100%;
}


/* HEADER ACTION */

.header-action {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 12px 18px;

    border: 1px solid #111;
    border-radius: 100px;

    font-size: 12px;
    font-weight: 650;

    transition:
        background .3s var(--ease),
        color .3s var(--ease);
}

.header-contact span {
    font-size: 15px;
    line-height: 1;
}

.header-contact:hover {
    background: #111;
    color: #fff;
}


/* MOBILE MENU BUTTON */

.header-menu {
    display: none;

    position: relative;

    width: 34px;
    height: 34px;
}

.header-menu span {
    position: absolute;
    left: 5px;

    width: 24px;
    height: 1px;

    background: #111;

    transition:
        transform .3s var(--ease),
        opacity .3s var(--ease);
}

.header-menu span:nth-child(1) {
    top: 10px;
}

.header-menu span:nth-child(2) {
    top: 17px;
}

.header-menu span:nth-child(3) {
    top: 24px;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 900;

    display: none;

    background: #fff;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .35s var(--ease),
        visibility .35s var(--ease);
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding:
        calc(var(--header-height) + 40px)
        var(--side-padding)
        40px;
    box-sizing: border-box;
}

.mobile-nav nav {
    margin-top: 20px;
}

.mobile-nav nav li {
    border-bottom: 1px solid #e8e8e8;
}

.mobile-nav nav a {
    display: flex;
    align-items: center;
    gap: 25px;

    padding: 20px 0;

    font-size: 28px;
    font-weight: 650;
    letter-spacing: -.04em;
}

.mobile-nav nav a span {
    width: 28px;

    color: #999;

    font-size: 10px;
    font-weight: 600;
    letter-spacing: .05em;
}

.mobile-nav-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding-top: 30px;
    border-top: 1px solid #111;
}

.mobile-nav-footer p {
    margin: 0;

    font-size: 10px;
    font-weight: 650;
    letter-spacing: .12em;
}

.mobile-nav-footer a {
    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   BUTTON
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    min-height: 52px;
    padding: 0 24px;
    box-sizing: border-box;

    font-size: 13px;
    font-weight: 650;

    transition:
        background .3s var(--ease),
        color .3s var(--ease),
        border-color .3s var(--ease),
        transform .3s var(--ease);
}

.btn span {
    font-size: 17px;
    line-height: 1;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #111;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
}

.btn-outline {
    border: 1px solid #111;
    color: #111;
}

.btn-outline:hover {
    background: #111;
    color: #fff;
}

.btn-outline-white {
    border: 1px solid rgba(255,255,255,.5);
    color: #fff;
}

.btn-outline-white:hover {
    background: #fff;
    border-color: #fff;
    color: #111;
}


/* =========================================================
   TEXT LINK
========================================================= */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    font-size: 12px;
    font-weight: 650;
    letter-spacing: .01em;
}

.text-link span {
    font-size: 16px;

    transition:
        transform .3s var(--ease);
}

.text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #111;
    color: #fff;
}

.footer-inner {
    padding-top: 100px;
    padding-bottom: 35px;
}


/* FOOTER TOP */

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 80px;

    padding-bottom: 100px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}


/* BRAND */

.footer-logo {
    display: inline-flex;
}

.footer-logo img {
    width: auto;
    height: 32px;
    filter: grayscale(1) brightness(0) invert(1);
}

.footer-tagline {
    margin: 25px 0 0;

    font-size: 10px;
    font-weight: 650;
    letter-spacing: .15em;
}

.footer-description {
    margin: 22px 0 0;

    color: #999;

    font-size: 12px;
    line-height: 1.8;
}


/* FOOTER NAV */

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-nav-group strong {
    display: block;
    margin-bottom: 22px;

    color: #fff;

    font-size: 10px;
    font-weight: 650;
    letter-spacing: .1em;
}

.footer-nav-group li + li {
    margin-top: 13px;
}

.footer-nav-group a {
    color: #999;

    font-size: 12px;

    transition: color .25s ease;
}

.footer-nav-group a:hover {
    color: #fff;
}


/* PARTNER */

.footer-partner {
    text-align: right;
}

.footer-partner > span {
    display: block;

    color: #777;

    font-size: 9px;
    font-weight: 650;
    letter-spacing: .12em;
}

.footer-partner > strong {
    display: block;
    margin-top: 14px;

    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.03em;
}

.footer-partner p {
    margin: 9px 0 0;

    color: #777;

    font-size: 9px;
    letter-spacing: .08em;
}


/* FOOTER BOTTOM */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 25px;
}

.copyright {
    margin: 0;

    color: #666;

    font-size: 9px;
    letter-spacing: .05em;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #666;

    font-size: 9px;

    transition: color .25s ease;
}

.footer-legal a:hover {
    color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    :root {
        --side-padding: 40px;
    }

    .header-nav {
        margin-right: 35px;
    }

    .header-nav ul {
        gap: 25px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-partner {
        text-align: left;
    }
}


@media (max-width: 800px) {

    :root {
        --side-padding: 24px;
        --header-height: 70px;
    }

    .header {
        height: var(--header-height);
    }

    .header-nav,
    .header-contact {
        display: none;
    }

    .header-menu {
        display: block;
    }

    .header-logo img {
        height: 27px;
    }

    .mobile-nav-inner {
        padding:
            calc(var(--header-height) + 25px)
            var(--side-padding)
            25px;
    }

    .mobile-nav nav a {
        font-size: 25px;
    }

    .footer-inner {
        padding-top: 75px;
        padding-bottom: 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 65px;

        padding-bottom: 70px;
    }

    .footer-partner {
        text-align: left;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

}


@media (max-width: 480px) {

    :root {
        --side-padding: 20px;
    }

    .mobile-nav-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav {
        gap: 20px;
    }

}