*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,sans-serif;
    color:#111;
    background:#fff;
}

/* HEADER */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    border-bottom:1px solid #eee;
}

.logo{
    font-family:"Times New Roman", serif;
    font-size:90px;
    font-weight:500;
    letter-spacing:-3px;
    line-height:1;
    margin-left:-30px;
    cursor:pointer;

    text-decoration:none;
    color:#111;
    display:inline-block;
}



nav{
    display:flex;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:#111;
    font-size:16px;
}

button{
    background:#111;
    color:#fff;
    border:none;
    padding:14px 26px;
    cursor:pointer;
    border-radius:4px;
}

/* HERO */

.hero{
    display:grid;
    grid-template-columns:1fr 1fr;
    min-height:750px;
}

.hero-content{
    padding:90px 80px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.hero-content span{
    font-size:14px;
    letter-spacing:2px;
    color:#777;
}

.hero-content h1{
    font-size:72px;
    line-height:1.05;
    margin:20px 0;
    font-family:"Times New Roman", serif;
    font-weight:500;
}

.hero-content p{
    font-size:18px;
    color:#666;
    max-width:550px;
    margin-bottom:35px;
    line-height:1.7;
}

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* VALUES */

.values{
    padding:100px 80px;
}

.values h2{
    font-size:48px;
    margin-bottom:50px;
    font-family:"Times New Roman", serif;
    font-weight:500;
}

.value-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.card{
    border:1px solid #e5e5e5;
    padding:30px;
}

.card h3{
    margin-bottom:12px;
    font-size:22px;
}

.card p{
    color:#666;
    line-height:1.6;
}

/* FOOTER */

.footer{
    background:#111;
    color:#fff;
    padding:40px 80px 20px;
    margin-top:80px;
}

.footer-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:40px;
    padding-bottom:20px;
    border-bottom:1px solid rgba(255,255,255,0.1);
}

.footer-bottom{
    padding-top:20px;
    text-align:center;
}

.footer-logo h3{
    font-family:"Times New Roman", serif;
    font-size:42px;
    font-weight:500;
    margin-bottom:15px;
}

.footer-logo a{
    font-family:"Times New Roman", serif;
    font-size:42px;
    font-weight:500;
    margin-bottom:15px;
    color:#fff;
    text-decoration:none;
    display:inline-block;
}

.footer-links{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.footer-links a{
    text-decoration:none;
    color:#fff;
    font-size:15px;
    transition:0.3s;
}

.footer-links a:hover{
    color:#c9c9c9;
    transform:translateX(5px);
}



.footer-bottom span{
    color:#888;
    font-size:14px;
}

.footer-contact{
    margin-top:10px;
    color:#aaa;
    font-size:14px;
    line-height:1.6;
}

.footer-contact a{
    color:#fff;
    text-decoration:none;
    word-break:break-word;
}

.footer-contact a:hover{
    color:#c9c9c9;
}

.btn{
    background:#111;
    color:#fff;
    padding:14px 26px;
    border-radius:4px;
    text-decoration:none;

    display:flex;
    align-items:center;
    justify-content:center;

    width:250px; /* нужная ширина */
}




.language-switch {
    display: flex;
    align-items: center;
    background: #f2f2f2;
    border-radius: 50px;
    padding: 4px;
    gap: 2px;

    margin-right: -400px; /* 👈 добавили сюда */
}

.language-switch a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.language-switch a:hover {
    background: #e6e6e6;
    color: #111;
}

.language-switch a.active {
    background: #111;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ===========================
      Language Transition
=========================== */



#page-transition{
    display:none;
    position:fixed;
    inset:0;
    background:#111;
    display:flex;
    justify-content:center;
    align-items:center;

    transform:translateY(-100%);
    opacity:0;

    pointer-events:none;
    z-index:99999;
}

#page-transition.show{
    animation:pageTransition 1.5s cubic-bezier(.77,0,.18,1) forwards;
    display:flex;
}

.transition-content{
    text-align:center;
    color:white;

    opacity:0;
    transform:translateY(25px);

    animation:contentFade .9s ease forwards;
    animation-delay:.35s;
}

.transition-content h1{

    font-family:"Times New Roman",serif;
    font-size:90px;
    font-weight:500;
    letter-spacing:-3px;

    margin-bottom:15px;
}

.transition-content p{

    font-size:18px;
    color:#bbb;
    letter-spacing:1px;

}

@keyframes pageTransition{

    0%{
        transform:translateY(-100%);
        opacity:1;
    }

    30%{
        transform:translateY(0);
        opacity:1;
    }

    70%{
        transform:translateY(0);
        opacity:1;
    }

    100%{
        transform:translateY(100%);
        opacity:1;
    }

}

@keyframes contentFade{

    from{
        opacity:0;
        transform:translateY(25px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}








/* ==========================================
            RESPONSIVE ADAPTATION
========================================== */

/* 1600px+ */

@media (min-width:1600px){

    header{
        padding:20px 120px;
    }

    .hero-content{
        padding:120px;
    }

    .hero-content h1{
        font-size:90px;
    }

    .hero-content p{
        font-size:20px;
        max-width:650px;
    }

    .values{
        padding:120px;
    }

    .footer{
        padding:50px 120px 30px;
    }

}


/* 1400px */

@media (max-width:1400px){

    header{
        padding:20px 40px;
    }

    .logo{
        font-size:75px;
        margin-left:0;
    }

    .hero-content{
        padding:70px 50px;
    }

    .hero-content h1{
        font-size:60px;
    }

    .values{
        padding:80px 50px;
    }

    .footer{
        padding:40px 50px;
    }

}


/* Tablets */

@media (max-width:992px){

    header{
        flex-wrap:wrap;
        justify-content:center;
        gap:20px;
        padding:20px 30px;
    }

    .logo{
        font-size:60px;
        margin-left:0;
    }

    nav{
        gap:20px;
        justify-content:center;
        flex-wrap:wrap;
    }

    .language-switch{
        margin:0;
    }

    .hero{
        grid-template-columns:1fr;
    }

    .hero-content{
        order:1;
    }

    .hero-image{
        order:2;
    }

    .hero-content{
        order:2;
        text-align:center;
        align-items:center;
        padding:60px 35px;
    }

    .hero-content h1{
        font-size:52px;
    }

    .hero-content p{
        max-width:700px;
    }

    .value-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-top{
        flex-wrap:wrap;
        justify-content:center;
        text-align:center;
    }

}


/* Phones */

@media (max-width:768px){

    header{
        flex-direction:column;
        align-items:center;
        gap:20px;
        padding:20px;
    }

    .logo{
        font-size:55px;
    }

    nav{
        justify-content:center;
        flex-wrap:wrap;
        gap:15px;
    }

    nav a{
        font-size:14px;
    }

    .hero{
        grid-template-columns:1fr;
    }

    .hero-content{
        padding:45px 20px;
        text-align:center;
        align-items:center;
    }

    .hero-content span{
        font-size:12px;
    }

    .hero-content h1{
        font-size:42px;
        line-height:1.1;
    }

    .hero-content p{
        font-size:16px;
        line-height:1.6;
    }

    .hero-content{
        order:1;
        padding:45px 20px;
        text-align:center;
        align-items:center;
    }

    .hero-image{
        order:2;
        height:350px;
    }

    .hero-image img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .btn{
        width:100%;
        max-width:300px;
    }

    .values{
        padding:60px 20px;
    }

    .values h2{
        font-size:34px;
        text-align:center;
    }

    .value-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .card{
        padding:25px;
    }

    .footer{
        padding:35px 20px;
    }

    .footer-top{
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:30px;
    }

    .footer-links{
        align-items:center;
    }

    .footer-logo h3,
    .footer-logo a{
        font-size:34px;
    }

    .transition-content h1{
        font-size:60px;
    }

    .transition-content p{
        font-size:16px;
    }

}


/* Small phones */

@media (max-width:576px){

    .logo{
        font-size:45px;
    }

    .hero-content{
        padding:40px 20px;
    }

    .hero-content h1{
        font-size:34px;
    }

    .hero-content p{
        font-size:15px;
    }

    .hero-image{
        height:280px;
    }

    .card{
        padding:20px;
    }

    .card h3{
        font-size:19px;
    }

    .transition-content h1{
        font-size:48px;
    }

    .transition-content p{
        font-size:15px;
    }

}


/* Very small phones */

@media (max-width:400px){

    .logo{
        font-size:40px;
    }

    nav{
        gap:10px;
    }

    nav a{
        font-size:12px;
    }

    .hero-content{
        padding:35px 15px;
    }

    .hero-content h1{
        font-size:30px;
    }

    .hero-content p{
        font-size:14px;
    }

    .btn{
        max-width:100%;
    }

    .footer-logo h3,
    .footer-logo a{
        font-size:30px;
    }

    .footer-bottom span{
        font-size:12px;
    }

}
