* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #111;
    line-height: 1.7;
}

body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.header {
    background: #ffffff;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #2f2f2f;
    background: #000;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #111;
}

.logo-title {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #555;
}


.nav-desktop {
    display: flex;
    gap: 24px;
}

.nav-desktop a {
    color: #111;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.nav-desktop a:hover {
    border-bottom-color: #111;
}

.hamburger {
    display: none;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #000000;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -220px;
    width: 220px;
    height: 100vh;
    background: #111;
    padding-top: 90px;
    transition: right 0.3s ease;
    z-index: 10;
}

.side-menu.active {
    right: 0;
}

.side-menu ul {
    list-style: none;
}

.side-menu a {
    display: block;
    margin: 10px 20px;
    padding: 12px 16px;
    background: #1a1a1a;
    border-left: 3px solid #444;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

.side-menu a:hover {
    background: #222;
    border-left-color: #888;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

main {
    flex: 1;
}

.site-footer {
    background: #ffffff;
    color: #d1d5db;
    padding: 80px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #111;
    margin-bottom: 16px;
}

.footer-text {
    color: #333;
    line-height: 1.7;
}

.footer-mail {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-mail:hover {
    color: #111;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #111;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #666565;
}

.footer-mail {
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #2f2f2f;
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #111;
}

.footer-made-by a,
.footer-col a {
    color: #111;
    text-decoration: underline;
}

.footer-made-by a:hover,
.footer-col a:hover {
    color: #666565;
}

@media (min-width: 1440px) {
    .logo img {
        width: 65px;
        height: 65px;
    }

    .logo span {
        font-size: 18px;
        letter-spacing: 2.5px;
    }

    .nav-desktop a {
        font-size: 16px;
    }

    .nav-desktop {
        gap: 32px;
    }
}

@media (min-width: 1920px) {
    .header-inner {
        max-width: 1680px;
    }

    .logo img {
        width: 72px;
        height: 72px;
    }

    .logo span {
        font-size: 19px;
    }

    .nav-desktop a {
        font-size: 17px;
    }

    .nav-desktop {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        gap: 8px;
        max-width: 70%;
    }

    .logo img {
        width: 52px;
        height: 52px;
    }

    .logo-name {
        font-size: 15px;
        font-weight: 700;
    }

    .logo-title {
        font-size: 10px;
        color: #666;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}