/* ─── Site Navigation ─────────────────────────────────────────────────── */

.site-nav {
    background: #7DA5F3;
    padding: 0 20px;
}

.site-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.site-nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-links li {
    margin: 0;
    padding: 0;
    position: static;
    font-size: inherit;
    line-height: inherit;
    flex-shrink: 0;
}

.site-nav-links li::before,
.site-nav-links li::after {
    display: none;
    content: none;
}

.site-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.88;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.site-nav-links a:hover {
    opacity: 1;
}

/* ─── Burger button (hidden on desktop) ──────────────────────────── */

.site-nav-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.site-nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

.site-nav.open .site-nav-burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.site-nav.open .site-nav-burger span:nth-child(2) {
    opacity: 0;
}
.site-nav.open .site-nav-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 640px) {
    .site-nav {
        position: relative;
    }
    .site-nav-burger {
        display: flex;
    }
    .site-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #7DA5F3;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 20px 16px;
        gap: 0;
        z-index: 100;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
    .site-nav.open .site-nav-links {
        display: flex;
    }
    .site-nav-links li {
        width: 100%;
    }
    .site-nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        opacity: 1;
    }
    .site-nav-links li:last-child a {
        border-bottom: none;
    }
}

/* ─── Footer ──────────────────────────────────────────────────────────── */

footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 20px 30px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #999;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #7DA5F3;
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    align-items: flex-start;
}

.footer-app-badges a {
    display: block;
    line-height: 0;
}

.footer-app-badges img {
    height: 40px;
    width: auto;
}

.footer-app-badges img[alt*="Google Play"] {
    height: 60px;
    margin-left: -10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-links a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: #7DA5F3;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
