/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.5;
    color: #333;
}

/* ===== КНОПКИ ===== */
.knopka {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6a00;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,106,0,0.3);
    text-align: center;
}

.knopka:hover {
    background: #e55b00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,106,0,0.4);
    color: #fff;
}

.knopka.vmaine {
    width: 100%;
    max-width: 400px;
    margin: 15px auto;
}

.knopka.vtypah {
    background: #4a4a4a;
}

.knopka.vtypah:hover {
    background: #333;
}

/* ===== ШАПКА ===== */
header {
    padding: 30px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 5px;
}

.pashem p span {
    color: #ff6a00;
    font-weight: 700;
}

.tel_top {
    text-align: right;
}

.number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff6a00;
}

.number span {
    color: #333;
}

.viber_icon {
    width: 30px;
    margin-left: 5px;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */
#main {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/main-bg.jpg') center/cover;
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.brown_bg {
    background: rgba(255,106,0,0.9);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.brown_bg h2 {
    font-size: 2rem;
    margin: 0;
}

.form_top {
    background: rgba(0,0,0,0.7);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* ===== БЕСПЛАТНО ===== */
#freebie {
    padding: 80px 0;
    background: #f9f9f9;
}

#freebie h2 {
    margin-bottom: 50px;
    position: relative;
}

#freebie h2:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff6a00;
}

.halyava {
    text-align: center;
    padding: 20px;
}

.halyava img {
    width: 80px;
    margin-bottom: 15px;
}

/* ===== ТИПЫ ФУНДАМЕНТОВ ===== */
#type_foundation {
    padding: 80px 0;
}

.item {
    background: #fff;
    border-radius: 10px;
    padding: 25px 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: 0.3s;
    height: 100%;
}

.item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.item h3 {
    font-size: 1.3rem;
    min-height: 60px;
    text-align: center;
    color: #ff6a00;
}

.item ul {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.item li {
    padding-left: 25px;
    margin-bottom: 8px;
    position: relative;
}

.item li.jackdaw:before {
    content: '✓';
    color: #27ae60;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.item li.cross:before {
    content: '✗';
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
#advantes {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images/adv-bg.jpg') center/cover;
    padding: 100px 0;
    color: #fff;
}

.engineer {
    background: #ff6a00;
    padding: 30px;
    border-radius: 10px;
    font-size: 1.3rem;
}

.five_brigades {
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 10px;
    color: #333;
}

.five_brigades h2 {
    color: #ff6a00;
    margin-bottom: 20px;
}

.five_brigades ul {
    list-style: none;
    margin-top: 20px;
}

.five_brigades li span {
    color: #ff6a00;
    margin-right: 10px;
}

/* ===== ФОРМЫ ===== */
.pole {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 30px;
    padding: 0 25px;
    margin: 10px 0;
    outline: none;
}

.pole:focus {
    border-color: #ff6a00;
}

.form2 {
    background: rgba(0,0,0,0.8);
    padding: 40px 30px;
    border-radius: 10px;
    color: #fff;
}

.form2 .title {
    color: #ff6a00;
    font-size: 1.8rem;
    text-align: center;
}

.form2 .subtitle span {
    color: #ff6a00;
    font-weight: 700;
}

.form2.below {
    background: #ff6a00;
}

.form2.below .title {
    color: #fff;
}

.snitch {
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
    margin-top: 15px;
}

/* ===== ПРОЦЕСС ===== */
#process {
    padding: 80px 0;
    background: #f5f5f5;
}

.move {
    position: relative;
    padding-left: 50px;
}

.move:before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #ff6a00;
}

.step {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
}

.step .icon {
    position: absolute;
    left: -40px;
    top: 0;
    width: 50px;
    height: 50px;
    background: #ff6a00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
}

.step .icon img {
    width: 25px;
}

.step .time {
    font-weight: 700;
    color: #ff6a00;
}

/* ===== ПОДВАЛ ===== */
footer {
    background: #222;
    color: #fff;
    padding: 50px 0;
}

footer a {
    color: #ff6a00;
}

footer a:hover {
    color: #fff;
}

.logo_f h2 {
    color: #ff6a00;
}

/* ===== КНОПКА НАВЕРХ ===== */
.buttonup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff6a00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 100;
}

.buttonup:before {
    content: '↑';
    font-size: 1.8rem;
}

.buttonup.show {
    opacity: 1;
    visibility: visible;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .tel_top {
        text-align: left;
        margin-top: 20px;
    }
    
    .brown_bg h2 {
        font-size: 1.5rem;
    }
    
    .halyava {
        padding: 10px;
    }
    
    .step {
        margin-bottom: 20px;
    }
}