* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.hero-section {
    background-color: white;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 0px;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 80px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text {
    flex: 1;
    font-family: 'Rubik', sans-serif;
    /* font-style: italic; */
    line-height: 1.1;
}

.hero-text .line1 {
    font-size: 80px;
    margin-bottom: 5px;
    /* padding-top: 15px; */
    color: #F97316;
    font-weight: 900;
}

.hero-text .line2 {
    font-size: 80px;
    margin-bottom: 5px;
    color: #333;
    font-weight: 800;
}

.hero-text .line3 {
    font-size: 80px;
    color: #333;
    font-weight: 800;
}

.hero-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-blog-link {
    position: absolute;
    top: 4%;
    left: 15%;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: black;
    text-decoration: none;
    z-index: 10;
}

.hero-blog-link::after {
    content: '';
    position: absolute;
    width: 105%;
    height: 4px;
    background: #F97316;
    bottom: 0px;
    left: -2.5%;
    transform: skewX(-15deg) rotate(-2deg);
    transition: all 0.2s ease-in-out;
}

.hero-blog-link:hover::after {
    background: #EA580C;
    height: 6px;
    bottom: -1px;
}

.hero-contact {
    position: absolute;
    top: 40px;
    right: 150px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.phone-number {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #F97316;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #EA580C;
}

.hero-message {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-message a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-message svg {
    width: 35px;
    height: 35px;
    color: #F97316;
    transition: all 0.3s ease;
}

.hero-message a:hover svg {
    transform: scale(1.1);
}

.hero-buttons {
    position: absolute;
    bottom: 10px;
    left: 15%;
    display: flex;
    flex-direction: column;
    gap: 15px;

}

.hero-button {
    background-color: #F97316;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* border-radius: 8px; */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-button:hover {
    background-color: #EA580C;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.hero-button:active {
    background-color: #C2410C;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Индикатор прокрутки — базовый стиль (ПК) */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    z-index: 10;
    cursor: pointer;
}

.scroll-indicator svg {
    width: 40px;
    height: 40px;
    animation: scroll-bounce 1.2s infinite ease-in-out;
}

.scroll-label {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase; /* большие буквы на ПК */
    color: #9ca3af;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* Адаптивность */
@media (max-width: 768px) {
    
    .hero-image {
        /* position: absolute; */
        top: 20px;
        left: 20px;
        /* при необходимости */
        width: 270px; /* фиксируем ширину вместо flex */
      }


    .hero-text-wrapper {
        position: absolute;
        margin-top: 265px;

    }    


    .hero-section {
        padding: 20px;
        min-height: auto;
    }

    .hero-blog-link {
        position: absolute;
        left: 20px;
        top: 20px;
        bottom: auto;
        font-size: 24px;
    }

    .hero-contact {
        top: 20px;
        right: 20px;
        gap: 15px;
    }

    .phone-number {
        font-size: 20px;
    }

    .hero-message svg {
        width: 30px;
        height: 30px;
    }

    .hero-container {
        flex-direction: column;
        margin-top: 0px;
        gap: 10px;
        text-align: center;
    }

    .hero-text .line1 {
        font-size: 40px;
    }

    .hero-text .line2,
    .hero-text .line3 {
        font-size: 40px;
    }

    .hero-buttons {
        position: static;
        align-self: flex-start;
        margin-top: 80px;
        margin-left: 20%;
    }

    .hero-button {
        font-size: 20px;
        padding: 12px 24px;
    }

    /* Индикатор прокрутки — только на мобильных */
    .scroll-indicator {
        position: static; /* на мобильных под кнопками */
        display: inline-flex;
        align-items: center;
        gap: 8px;
        align-self: flex-start;
        margin-left: 20%;
        margin-top: 12px;
        color: #9ca3af;
    }

    .scroll-indicator svg {
        width: 24px;
        height: 24px;
    }

    .scroll-label {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: lowercase; /* мобильный вариант */
    }
}

@media (max-width: 480px) {
    .hero-blog-link {
        font-size: 20px;
        margin-top: 0px;
    }
    .hero-contact {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .phone-number {
        font-size: 18px;
    }

    .hero-text .line1 {
        font-size: 28px;
    }

    .hero-text .line2,
    .hero-text .line3 {
        font-size: 32px;
    }

    .hero-button {
        font-size: 18px;
        padding: 10px 20px;
    }
}
