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

:root{
    --bg:#f6f7f9;
    --surface:#ffffff;
    --text:#1f2937;
    --muted:#6b7280;
    --accent:#1d4ed8;
    --border:#e5e7eb;
    --radius:16px;
    --shadow:0 10px 30px rgba(0,0,0,.08);
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter,Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
}

header{
    position:sticky;
    top:0;
    background:#fff;
    border-bottom:1px solid var(--border);
    z-index:100;
}

nav{
    max-width:1200px;
    margin:auto;
    padding:20px 32px;
    display:flex;
    justify-content:flex-end;
    gap:32px;
}

nav a{
    text-decoration:none;
    color:var(--text);
    font-weight:600;
}

nav a:hover{
    color:var(--accent);
}

section{
    max-width:1200px;
    margin:auto;
    padding:90px 32px;
}

#hero{
    min-height:90vh;
    display:grid;
    grid-template-columns:1.2fr .8fr;
    align-items:center;
    gap:60px;
}

.hero-text h1{
    font-size:4rem;
    line-height:1.05;
    margin-bottom:16px;
}

.hero-text h2{
    font-size:1.5rem;
    color:var(--accent);
    margin-bottom:24px;
}

.hero-text p{
    max-width:620px;
    color:var(--muted);
}

.hero-photo{
    display:flex;
    justify-content:center;
}

.hero-photo img{
    width:100%;
    max-width:420px;
    border-radius:24px;
    background:#ddd;
    box-shadow:var(--shadow);
}

h2{
    font-size:2.2rem;
    margin-bottom:24px;
}

footer{
    border-top:1px solid var(--border);
    text-align:center;
    padding:40px;
    color:var(--muted);
}
/* Переключатель языка */

.language-switcher{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
    font-size:0.95rem;
    font-weight:600;
}

.language-switcher a{
    color:var(--text);
    text-decoration:none;
}

.language-switcher a:hover{
    color:var(--accent);
}

.language-switcher a.active{
    color:var(--accent);
    pointer-events:none;
}

.language-switcher span{
    color:#999;
}
.dashboard{
    max-width:1100px;
    margin:80px auto;
    padding:20px;
}

.dashboard h1{
    margin-bottom:40px;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.dashboard-card{
    display:block;
    padding:30px;
    border:1px solid #ddd;
    border-radius:16px;
    text-decoration:none;
    color:inherit;
    transition:.2s;
}

.dashboard-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.dashboard-card h3{
    margin:15px 0 10px;
}

.dashboard-card p{
    word-break:break-all;
    font-size:.9rem;
    opacity:.7;
}
@media (max-width:900px){

    nav{
        justify-content:center;
        flex-wrap:wrap;
        gap:16px;
    }

    #hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-photo{
        order:-1;
    }

    .hero-text h1{
        font-size:2.8rem;
    }

}
