@font-face {
    font-family: 'Rubik';

    src: url('../fonts/Rubik-VariableFont_wght.ttf') format('truetype'); 
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}


body, html {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', Arial, sans-serif;
    background-color: #f4f4f4;
    overflow-x: hidden;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.header {
    background: #1a1a1a;
    color: white;
    padding: 23px 0;
    display: flex;
    align-items: center;


    position: fixed; 
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 9999; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.5); 

}



.nav {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    flex-grow: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px; 
}


.nav a {
    margin-left: 0 !important; 
}


.lang-dropdown {
    position: relative;
}

.lang-dropbtn {
    background-color: transparent;
    color: white;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: transparent; 
    min-width: 170px;
    z-index: 10000;
    padding-top: 10px; 
    top: 100%; 
}
.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

.arrow-down {
    width: 0; height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid white;
}


@media (max-width: 768px) {
    
    .header .container {
        flex-direction: row !important; 
        justify-content: space-between !important;
        padding: 0 15px;
    }

    .nav {
        justify-content: flex-end;
    }

    .nav-actions {
        gap: 10px; 
    }

    .btn-yellow {
        padding: 8px 12px;
        font-size: 13px; 
    }

    .lang-dropbtn {
        padding: 6px 8px;
        font-size: 12px;
    }
}



.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}


.lang-dropbtn {
    background-color: transparent;
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.lang-dropbtn:hover {
    border-color: #f1b434;
}


.arrow-down {
    width: 0; height: 0; 
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid white;
}

.lang-dropdown-content-inner {
    background-color: #ffffff;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.3);
    border-radius: 4px;
    overflow: hidden;
}


.lang-dropdown-content a {
    color: #333 !important;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin: 0 !important; 
    transition: background 0.2s;
}

.lang-dropdown-content a:hover {
    background-color: #f1f1f1;
}

.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}

.lang-dropdown-content .flag {
    font-size: 18px;
}


.lang-dropdown:hover .lang-dropdown-content {
    display: block;
}


.lang-dropdown:hover .lang-dropbtn {
    background-color: rgba(255, 255, 255, 0.1);
}


@media (max-width: 768px) {
    .lang-dropdown {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .lang-dropdown-content {
        left: 50%;
        transform: translateX(-50%); 
    }
}


.flag-icon {
    width: 20px;   
    height: auto;
    border-radius: 2px; 
    object-fit: cover;
    display: inline-block;
}


.lang-dropbtn {
    display: flex;
    align-items: center;
    gap: 10px;
    
}


.lang-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    
}


.logo img {
    height: 50px; 
    width: auto;  
    display: block;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.btn-yellow {
    background: #f1b434;
    color: #000 !important;
    padding: 10px 25px;
    font-weight: bold;
    text-decoration: none;
}



.hero {
    background: #1a1a1a; 
    background-image: url('../images/background_01.webp'); 
    background-size: cover;
    background-position: center;
    height: 725px;
    display: flex;
    align-items: center;
    position: relative; 
    color: white;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 20px;
}


.hero-image {
    position: relative;
    flex-basis: 50%;
}

.hero-image img {
    width: 135%; 
    position: absolute;
    top: 75px; 
    right: -100px;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}




@keyframes slideInRight {
    0% {
        opacity: 0;               
        transform: translateX(100px); 
    }
    100% {
        opacity: 1;               
        transform: translateX(0);     
    }
}


.hero-image img {
    
    animation: slideInRight 1.5s ease-out forwards; 
    
}


.typing-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: #f1b434; 
}

@keyframes blink {
    50% { opacity: 0; }
}








.full-width-banner {
    width: 100%;
    min-height: 800px; 
    
    background-image: url('../images/background021_image.webp'); 
    background-size: cover; 
    background-position: center;
    position: relative;
    display: flex;
    align-items: center; 
    top: 200px;
    z-index: 0;
}


.full-width-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2); 
    z-index: 1;
}

.banner-overlay-text {
    position: relative;
    z-index: 2; 
    max-width: 600px; 
    color: #ffffff;
}

.banner-overlay-text h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-overlay-text p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}


.info-section {
    padding: 100px 0;
    overflow: hidden; 
    top: 250px;
    position: relative;
}

.bg-gray {
    background-color: #f9f9f9; 
}

.flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.half-block {
    width: 48%;
}

.image-block img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.text-block h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    min-height: 44px; 
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.check-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    font-weight: bold;
}

.check-list li::before {
    content: '✓';
    color: #fdd835;
    position: absolute;
    left: 0;
}




.hidden-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.hidden-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}


.visible {
    opacity: 1;
    transform: translateX(0);
}


.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    color: #fdd835;
}

@keyframes blink {
    50% { opacity: 0; }
}


@media (max-width: 768px) {
    .flex-row {
        flex-direction: column;
    }
    .reverse-mobile {
        flex-direction: column-reverse; 
    }
    .half-block {
        width: 100%;
        margin-bottom: 40px;
    }
    .banner-overlay-text h2 {
        font-size: 32px;
    }
}




.banner-bg-section {
    
    background-image: url('../images/background021_image.webp'); 
    background-size: cover;
    background-position: center;
    min-height: 600px; 
    position: relative;
    padding: 60px 0; 
    display: flex;
    align-items: flex-start; 
    top: 250px;
}

.banner-bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); 
    z-index: 1; 
}


.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
     
}


.banner-white-box {
    background-color: #ffffff; 
    color: #333333; 
    padding: 50px; 
    max-width: 300px; 
    
    
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); 
    
    /* Если хотите прижать ПРЯМО к самому краю экрана, уберите .container в HTML.
       Но сейчас он выровнен по линии вашего логотипа, что красивее. */
    margin-top: 0; 
}

.banner-white-box h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #000;
}


.yellow-line {
    width: 80px;
    height: 4px;
    background-color: #fdd835;
    margin-bottom: 25px;
}

.banner-white-box p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
}


.btn-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border-bottom: 2px solid #fdd835;
    padding-bottom: 3px;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #fdd835;
    border-color: #333;
}


@media (max-width: 768px) {
    .banner-bg-section {
        padding: 0; 
    }
    .banner-white-box {
        max-width: 100%;
        margin: 20px; 
        padding: 30px;
    }
    .banner-white-box h2 {
        font-size: 28px;
    }
}




.site-footer {
    background-color: #1a1a1a; 
    color: #ffffff;
    padding: 60px 0 40px;
    margin-top: 200px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}


.social-icon:hover {
    color: #fdd835;
    transform: translateY(-3px); 
}

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #333; 
    margin-bottom: 30px;
}


.legal-info p {
    margin: 0 0 10px;
}

.legal-info .disclaimer {
    font-size: 12px; 
    color: #888888; 
    line-height: 1.5;
    max-width: 800px; 
    margin: 0 auto;
}


/* =========================================
   АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ (Крупный текст)
   Вставить в конец style.css
   ========================================= */

@media (max-width: 768px) {
    
    
    .full-width-banner, 
    .info-section, 
    .banner-bg-section,
    .site-footer {
        top: auto; 
        margin-top: 0;
    }
    
    body {
        padding-top: 90px; 
        overflow-x: hidden; 
    }

    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav a {
        margin-left: 0;
        font-size: 10px; 
    }

    
    .hero {
        height: auto; 
        padding: 40px 0 60px;
        background-attachment: scroll; 
        text-align: center; 
    }

    .hero-content {
        flex-direction: column; 
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    
    .hero-text h1 {
        font-size: 36px; 
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 18px; 
        line-height: 1.5;
        margin-bottom: 30px;
    }

    
    .btn-yellow {
        display: inline-block;
        font-size: 18px;
        padding: 15px 7px;
    }

    
    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }

    .hero-image img {
        position: static; 
        width: 90%; 
        max-width: 400px;
        right: auto;
        top: auto;
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    }

    
    .flex-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .half-block {
        width: 100%;
    }

    
    .text-block h2 {
        font-size: 24px; 
        text-align: center;
        line-height: 1.3;
    }

    .text-block p {
        font-size: 16px; 
        text-align: left;
    }

    /* Меняем порядок для блока с бетонораспределительной стрелой,
       чтобы сначала шёл текст, потом картинка */
    .reverse-mobile {
        flex-direction: column-reverse;
    }

    
    .banner-bg-section {
        min-height: auto;
        padding: 40px 0;
        top: 0;
    }

    .banner-white-box {
        max-width: 100%;
        margin: 0 15px; 
        padding: 30px 20px;
    }
    
    .banner-white-box h2 {
        font-size: 26px;
    }

    
    .site-footer {
        margin-top: 0;
        padding: 40px 0;
    }

    .logo img {
        height: 25px;
    }
}