/* reset */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'A2z', 'Noto Sans KR', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    font-size: 15px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

:root {
    --blue: #1a4fa0;
    --blue-dark: #0d3275;
    --blue-mid: #2563c8;
    --accent: #f5a623;
    --text: #333;
    --text-mid: #555;
    --text-light: #888;
    --bg-gray: #EFEFEF;
    --bg-light: #eef2f9;
    --white: #fff;
    --border: #dde3ef;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(26, 79, 160, 0.10);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
}


/* Header */
/* ===== HEADER / NAV ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 10px 24px;
    height: 64px;
}

.logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

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

.header-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links>li {
    overflow: hidden;
    width: 140px;
}

.nav-links>li:hover {
    overflow: visible;
}


.snb {
    background-color: #fff;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}

.snb>li {
    padding: 10px 0;
    transition: 0.2s ease-out;
}

.snb>li:hover {
    background-color: #fafafa;
}

.snb>li:first-child {
    padding-top: 20px;
}

.nav-links a {
    display: block;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-mid);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-cta {
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}

.nav-cta:hover {
    background: var(--blue-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* footer */

/* ===== FOOTER ===== */
footer {
    background: #111;
    color: #aaa;
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    font-family: 'Barlow', sans-serif;
    font-weight: 900;
    color: var(--white);
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-logo img {
    height: 40px;
}

.footer-copy {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #fff;
}

.footer-links a:hover {
    color: var(--white);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 99;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.mobile-menu .m-cta {
    margin-top: 16px;
    background: var(--blue);
    color: var(--white);
    text-align: center;
    border-radius: 8px;
    padding: 14px;
    font-weight: 700;
}

.sns {
    display: flex;
    gap: 10px;
}

.sns a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    text-align: center;
}

.sns a img {
    width: 50px;
    height: 50px;
}

@media screen and (max-width:768px) {

    .header-logo img {
        height: 30px;
    }

    /* nav */
    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo {
        align-items: center;
    }

    .footer-inner {
        flex-direction: column;
    }

    .contact-info {
        flex-direction: column;
        align-items: start;
        font-size: 16px;
    }

    .install-count {
        font-size: 24px;
    }

    .install-count span {
        font-size: 36px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 10px;
    }
}