/* ========== СТИЛИ ДЛЯ СТРАНИЦЫ СТРОИТЕЛЬСТВО ДОМОВ ========== */

/* ГЕРОЙ */
.building-hero {
    background: linear-gradient(135deg, rgba(230, 80, 32, 0.05), rgba(243, 161, 25, 0.05));
    padding: 80px 0 60px;
    text-align: center;
}

.building-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.building-title span {
    background: linear-gradient(135deg, #E65020, #F3A119);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.building-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* БЛОК О КОМПАНИИ */
.about-company-section {
    background: white;
}

.about-company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-company-text h2 {
    text-align: left;
    margin-bottom: 25px;
}

.about-company-text h2::after {
    left: 0;
    transform: none;
}

.about-company-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.about-company-media {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.media-placeholder {
    width: 100%;
    aspect-ratio: 16 / 12;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-content {
    text-align: center;
    color: #999;
}

.placeholder-content span {
    font-size: 3rem;
}

@media (max-width: 968px) {
    .about-company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-company-text h2 {
        text-align: center;
    }
    .about-company-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* КАК МЫ РАБОТАЕМ */
.how-we-work-section {
    background: #FFF9F4;
}

.steps-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-item {
    background: white;
    padding: 35px 25px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(230, 80, 32, 0.1);
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 80, 32, 0.3);
    box-shadow: 0 20px 40px rgba(230, 80, 32, 0.1);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E65020, #F3A119);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1E1E1E;
}

.step-item p {
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .steps-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .steps-grid-new {
        grid-template-columns: 1fr;
    }
}

/* ПРЕИМУЩЕСТВА */
.advantages-section {
    background: white;
}

.advantages-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: #FCF9F5;
    padding: 35px 25px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(230, 80, 32, 0.1);
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(230, 80, 32, 0.3);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1E1E1E;
}

.advantage-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 968px) {
    .advantages-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .advantages-grid-new {
        grid-template-columns: 1fr;
    }
}

/* ГАЛЕРЕЯ РАБОТ */
.works-gallery-section {
    background: #FFF9F4;
}

.gallery-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.work-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.work-item:hover .work-overlay {
    transform: translateY(0);
}

.work-overlay h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.work-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
}

@media (max-width: 968px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 568px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
}

/* АДАПТАЦИЯ */
@media (max-width: 768px) {
    .building-title {
        font-size: 2rem;
    }
    .building-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
}