/* === GLOBAL === */

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: #ffffff;
    color: #1e293b;
}

/* === PAGE CONTENT === */

.page-content {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 16px;
    color: #475569;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.card h2 {
    font-size: 18px;
    color: #2563eb;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
}

.card a {
    display: inline-block;
    padding: 8px 14px;
    background: #2563eb;
    color: #ffffff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}

/* === FOOTER === */

.site-footer {
    text-align: center;
    padding: 24px 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
}

/* === LOGO === */

.logo-link {
    text-decoration: none;
    color: #3b82f6;
    font-weight: 700;
}

/* === DESKTOP HEADER === */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
}

.nav a {
    margin-right: 12px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
}

.lang-switch a {
    margin-left: 8px;
    text-decoration: none;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.lang-switch a.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* === MOBILE ONLY === */

@media (max-width: 768px) {

    .site-header {
        display: none;
    }

    .mobile-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: #0f172a;
        padding: 14px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #1e293b;
    }

    .mobile-logo {
        color: #3b82f6;
        font-size: 22px;
        font-weight: 700;
    }

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

    .mobile-burger span {
        display: block;
        width: 100%;
        height: 3px;
        background: #e2e8f0;
        border-radius: 3px;
        transition: 0.25s ease;
    }

   .mobile-burger.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-burger.open span:nth-child(2) {
    opacity: 0;
}

.mobile-burger.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-menu {
    display:none;
    position:absolute;
    top:62px;
    left:0;
    width:100%;
    background:#0f172a;
    border-bottom:1px solid #1e293b;
    padding:16px 20px;
    box-sizing:border-box;
    z-index:999;
}

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

    .mobile-menu a {
        display: block;
        font-size: 16px;
        color: #e2e8f0;
        text-decoration: none;
        padding: 10px 0;
        border-bottom: 1px solid #1e293b;
    }

    .mobile-lang {
        margin-top: 16px;
        display: flex;
        gap: 10px;
    }

    .mobile-lang a {
        flex: 1;
        padding: 10px;
        border-radius: 8px;
        border: 1px solid #334155;
        background: #1e293b;
        color: #e2e8f0;
        text-align: center;
        font-size: 15px;
    }
}

/* === DESKTOP ONLY === */

@media (min-width: 769px) {
    .mobile-header,
    .mobile-menu {
        display: none;
    }
}
