* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    opacity: 0;
    transition: opacity 1s ease;
    background: linear-gradient(to right, #c4161c 0%, #ffffff 100%);
    color: #fff;
}

body.loaded {
    opacity: 1;
}

.hero {
    height: 100vh;
    background: linear-gradient(to right, #c4161c, #ffffff);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #c4161c;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #f5f5f5;
}

.scroll-down {
    margin-top: 40px;
    font-size: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Красные и белые секции */
.red-section {
    background: #c4161c;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.white-section {
    background: #ffffff;
    color: #c4161c;
    padding: 80px 20px;
    text-align: center;
}

.services {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.services div {
    margin-bottom: 30px;
}

.contacts-page {
    min-height: 100vh;
    background: #111;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.contact-box {
    margin: 40px 0;
    line-height: 2;
}

@media(max-width:768px){
    .hero h1 {
        font-size: 30px;
    }
}

.logo {
    width: 200px;
    margin-bottom: 30px;
    animation: fadeLogo 1.5s ease forwards;
    opacity: 0;
}



@keyframes fadeLogo {
    to {
        opacity: 1;
    }
}

/* Блок преимуществ */
.advantages {
    background: linear-gradient(to right, #111, #1c1c1c);
    color: white;
    padding: 120px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 700px;
    margin: 0 auto 80px;
    opacity: 0.8;
    line-height: 1.6;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.adv-card {
    background: #1f1f1f;
    padding: 40px 30px;
    border-radius: 20px;
    transition: 0.4s ease;
    text-align: left;
}

.adv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.adv-icon {
    width: 50px;
    height: 50px;
    background: #c4161c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.adv-card h3 {
    margin-bottom: 15px;
}

.adv-card p {
    opacity: 0.8;
    line-height: 1.6;
}

.contact-cta {
    margin-top: 100px;
    padding: 40px;
    background: #c4161c;
    border-radius: 20px;
}

.contact-cta .phone {
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
}


.contact-cta .phone a {
    color: white;                  
    -webkit-text-fill-color: white;  /* строчка для айфона чтобы синим не было проверь сайт */
    text-decoration: none;
}


.footer {
    background: #0d0d0d;
    color: #aaa;
    text-align: center;
    padding: 25px;
    font-size: 14px;
}

/* Переключатель языка */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-switch button {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background: #000;
    color: #fff;
    font-weight: bold;
    transition: 0.3s ease;
}

.lang-switch button:hover {
    background: #333;
}

