* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #f8f8f8;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    width: calc(100% - 50px);
    height: auto;
    max-width: 360px;
}
.topbar {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    animation: fadeInTop 0.5s ease-out;
}

.nav-offset {
    height: 70px; /* высота topbar, чтобы контент не залезал под неё */
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 16px;
    max-width: 1200px;
    margin: 0 auto;
}



.topbar-phone-link {
    color: #c00;
    font-weight: bold;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-nav {
    display: flex;
    gap: 20px;
}

.topbar-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.burger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}
.topbar-logo-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.phone-mobile {
    display: none;
    font-size: 15px;
    font-weight: bold;
    color: #c00;
    text-decoration: none;
    margin-top: 5px;
}

.phone-mobile i {
    margin-right: 5px;
}

@media (max-width: 890px) {
    .topbar-phone {
        display: none;
    }
    .topbar-logo-phone {
        align-items: center;
        text-align: center;
        flex: 1;
    }

    .phone-mobile {
        display: block;
    }
    .topbar-nav {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 10001;
    }
    .topbar-nav a {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        font-size: 16px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
    }

    .topbar-nav.show {
        right: 0;
    }

    .burger {
        display: block;
        color: #333;
    }

    .topbar-container {
        justify-content: space-between;
        align-items: center;
    }

    .topbar-logo {
        flex-shrink: 0;
    }



    /* Мобильное раскрывающееся меню */

}

/* Анимация появления topbar */
@keyframes fadeInTop {
    from {
        opacity: 0;
        transform: translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.nav {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.hero {
    background: url('../img/hero.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 48px;
}

.models {
    background: #fff;
    padding: 60px 0;
}

.model-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.model {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

.model img {
    width: 100%;
    border-radius: 10px;
}

.about, .contact {
    padding: 60px 0;
    background: #fff;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #c00;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.footer {

    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo img {
    height: 50px;
}

.footer-info {
    max-width: 400px;
    font-size: 14px;
    line-height: 1.6;
}
.footer-info i {
    margin-right: 8px;
    color: #c00;
    width: 18px;
    display: inline-block;
    text-align: center;
}

.footer-info a {
    color: #333;
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;

    font-size: 13px;

    padding-top: 10px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-info {
        align-items: center;
    }
}

.about-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}
.footer .content-left{
    text-align: left;
}

.about-flex .col-12 {
    flex: 1 1 48%;
}

@media (max-width: 768px) {
    .about-flex {
        flex-direction: column;
    }
    .footer .content-left{
        text-align: center;
    }

    .about-flex .col-12 {
        flex: 1 1 100%;
    }

    .about-flex img {
        margin-top: 20px;
    }

    .mb-2 li {
        font-size: 15px;
        line-height: 1.5;
    }

    .about-flex h4,
    .about-flex h5 {
        font-size: 18px;
    }

    .about-flex div {
        font-size: 15px;
    }
}
.mb-2 {
    margin-top:25px
}
.mb-2 li {
    margin-bottom: 15px;
}
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease-in-out;
}
[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}
ul li i {
    color: #c00;
    margin-right: 8px;
}
.tile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.tile {
    background: #f1f1f1;
    border-radius: 12px;
    flex: 1 1 calc(25% - 20px);
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    padding: 25px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.tile i {
    color: #c00;
    margin-bottom: 15px;
}

.tile h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.tile p {
    font-size: 14px;
    color: #555;
}
.service {
    padding:40px 0;

}

.tile:hover {
    transform: translateY(-5px);
    background: #fff;
}
.guarantee-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.guarantee-card {
    background: #fef6f6;
    border: 1px solid #f0dada;
    border-radius: 10px;
    padding: 20px;
    width: 260px;
    text-align: center;
    transition: background 0.3s ease;
}

.guarantee-card:hover {
    background: #fff0f0;
}

.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #c00;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    color: white;
    font-size: 24px;
}

.guarantee-card p {
    margin: 0;
    font-size: 15px;
    color: #333;
}

@media (max-width: 768px) {
    .guarantee-grid {
        flex-direction: column;
        align-items: center;
    }

    .guarantee-card {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .tile-grid {
        flex-direction: column;
        align-items: center;
    }

    .tile {
        width: 90%;
    }
}
.service-tiles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.service-tile {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-left: 5px solid #c00;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    gap: 20px;
    transition: background 0.3s ease;
}

.service-tile:hover {
    background: #f9f9f9;
}

.service-tile i {
    color: #c00;
    min-width: 32px;
    margin-top: 4px;
}

.service-tile h4 {
    margin: 0;
    font-size: 17px;
    color: #222;
}

.service-tile p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

@media (max-width: 768px) {
    .service-tile {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-tile i {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero h1 {
        font-size: 32px;
    }

    .model-grid {
        flex-direction: column;
        align-items: center;
    }
}
.gallery {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.gallery a {
    flex: 1 1 30%;
    max-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery a:hover {
    transform: scale(1.05);
}

.gallery img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 200px;
}




