body {
    margin:0;
    font-family: system-ui, -apple-system, sans-serif;
    background:#fff;
    color:#102A43;
}

/* HEADER */
.header {
    background:#F8FAFC; /* очень светлый серый (дорогой оттенок) */
    border-bottom:1px solid #E5E7EB;
    backdrop-filter: blur(6px);
    min-height: 60px;

}



.header-inner {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 28px; /* было 20px → стало больше воздуха */
}

/* Меню под header */
.top-menu {
    background: #F8FAFC; /* такой же, как header */
    text-align: center;
}

.top-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.top-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 15px 10px;
    display: inline-block;
}

.top-menu a:hover {
    color: #4da6ff;
}

/* Плавный скролл */
html {
    scroll-behavior: smooth;
}

.container {
    max-width:1100px;
    margin:auto;
    padding: 0 20px; /* добавляем внутренние отступы */
}

/* LOGO */
.logo {
    display:flex;
    align-items:center;
    gap:18px; /* было 15 → стало свободнее */
}

.logo img {
    height: 56px; /* было 50 → чуть крупнее */
}

.logo-text {
    color:#64748B; /* мягкий серый, не слишком контрастный */
}



/* LANGUAGE */
.lang-switch button {
    background:#E2E8F0;
    border:none;
    padding:6px 12px;
    color:#334155;
    cursor:pointer;
    border-radius:6px;
}

.lang-switch button.active {
    background:#2563EB;
    color:#fff;
}

/* CAROUSEL */
.carousel {
    position:relative;
    height:450px;
    overflow:hidden;
}

.slide {
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:0.5s;
}

.slide.active {
    opacity:1;
}

.slide img {
    width:100%;
    height:100%;
    object-fit:cover;
}

/* overlay затемнение (дорогой эффект) */
.slide::after {
    content:"";
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
   // background: rgba(10, 37, 64, 0.6);
background: rgba(0,0,0,0.45);
}


/* текст */
.slide-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    
    //color: rgba(255, 255, 255, 0.9); /* мягкий белый */
color: #E2E8F0;
text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    font-size: 20px;
    max-width: 90%;
    text-align: center;

    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;

}

/* HERO */
.hero {
    text-align:center;
    padding:50px 20px;
}

.hero h1 {
    font-size:34px;
    margin-bottom:10px;
}

.hero p {
    color:#6B7280;
}

/* BLOCKS */
.block {
    padding:20px 0;
}

/* светлый блок */
.block.light {
    background:#EAF3FF;
}

.about-block {
    background: #0A2540; /* глубокий тёмно-синий */
    color: #ffffff;
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 15px;
}

.about-text p {
    color: #CBD5E1; /* мягкий текст */
    line-height: 1.7;
    font-size: 16px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
}

/* SERVICES — белый */
.services-block {
    background:#fff;
}

/* CARDS */
.card {
    background:#fff;
    padding:20px;
    border-radius:14px;
    text-align:center;
    box-shadow:0 6px 20px rgba(0,0,0,0.06);
    transition:0.3s;
}

.card:hover {
    transform:translateY(-5px);
}

/* GRID */
.grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card img {
    width:100%;
    border-radius:10px;
}
.card:last-child {
    margin-bottom: 0;
}



/* FOOTER */

.footer {
    background: #0A2540;
    color: #CBD5E1;
    margin-top: 60px;
}

/* сетка */
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 50px 20px 30px;
}

/* заголовки */
.footer-col h4 {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* текст */
.footer-col p {
    font-size: 14px;
    line-height: 1.6;
    color: #94A3B8;
}

/* списки */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    font-size: 14px;
    margin-bottom: 10px;
    color: #CBD5E1;
    transition: 0.2s;
}

/* hover — аккуратный, не кричащий */
.footer-col li:hover {
    color: #2563EB;
}

/* контакты чуть плотнее */
.footer-contacts li {
    font-weight: 500;
}

/* нижняя часть */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 18px;
    font-size: 13px;
    color: #94A3B8;
}

/* ===== PARTNERS ===== */

.partners-block {
    background: #fff;
}

.partners-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.partners-carousel {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    gap: 50px;
    transition: transform 0.5s ease;
}

.partners-track img {
    height: 80px; /* увеличили */
    min-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.partners-track img:hover {
    filter: none;
    opacity: 1;
}

/* стрелки */
.arrow {
    background: #E2E8F0;
    border: none;
    font-size: 24px;
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 8px;
    margin: 0 10px;
    transition: 0.2s;
}

.arrow:hover {
    background: #2563EB;
    color: #fff;
}

/* адаптив */
@media (max-width: 768px) {
    .partners-track img {
        height: 60px;
    }

    .arrow {
        font-size: 18px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .carousel {
        height: 300px;
    }

    .slide-text {
        font-size: 16px;
        bottom: 30px;
        padding: 8px 16px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .block {
        padding: 40px 0;
    }

    .about-inner {
        flex-direction: column;
    }
}
