/* --- БАЗОВЫЕ НАСТРОЙКИ --- */
body { font-family: Arial, sans-serif; margin: 0; background: #f4f8fc; color: #162a3d; }

/* --- HERO (Первый экран) --- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; background: white; }
.hero-left { padding: 80px 60px; display: flex; flex-direction: column; justify-content: center; }
.hero-left h1 { font-size: 56px; line-height: 1.1; margin-bottom: 35px; font-weight: 800; }
.hero-list { list-style: none; padding: 0; margin: 0; }
.hero-list li { margin-bottom: 18px; font-size: 20px; position: relative; padding-left: 35px; }
.hero-list li:before { content: "✓"; position: absolute; left: 0; color: #1d7be5; font-weight: bold; }
.hero-right { position: relative; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; }

.hero-form { 
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    background: white; padding: 30px; border-radius: 18px; width: 320px; 
    box-shadow: 0 10px 30px rgba(0,0,0,.15); z-index: 10;
}
.hero-form h3 { text-align: center; margin-bottom: 20px; }
.hero-form input { width: 100%; padding: 14px; margin-bottom: 12px; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; }
.hero-form button { width: 100%; background: #1677ff; color: white; border: none; padding: 15px; border-radius: 8px; font-weight: bold; cursor: pointer; }

/* --- ОСТАЛЬНЫЕ СЕКЦИИ --- */
.about-section { background: #ffffff; padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-grid h2 { font-size: 42px; margin-bottom: 25px; }
.about-grid p { font-size: 18px; line-height: 1.8; }
.about-img { width: 100%; border-radius: 20px; }

.steps-section { background: #f4f8fc; padding: 80px 0; }
.steps-section h2 { text-align: center; font-size: 42px; margin-bottom: 50px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.step-card { text-align: center; background: white; padding: 30px; border-radius: 18px; }
.step-card img { width: 70px; height: 70px; object-fit: contain; margin-bottom: 15px; }
.step-card h3 { font-size: 18px; margin-bottom: 10px; }
.step-card p { color: #666; }

.delivery-section { padding: 80px 0; background: white; }
.delivery-box { display: grid; grid-template-columns: 350px 1fr; gap: 40px; background: #eef5fc; border-radius: 20px; overflow: hidden; }
.delivery-box img { width: 100%; height: 100%; object-fit: cover; }
.delivery-box div { padding: 40px; }
.delivery-box h2 { font-size: 36px; margin-bottom: 20px; }
.delivery-box p { font-size: 18px; margin-bottom: 25px; }
.delivery-box button { background: #1677ff; color: white; border: none; padding: 15px 30px; border-radius: 10px; cursor: pointer; font-weight: bold; }

.advantages { background: #f4f8fc; padding: 80px 0; }
.advantages h2 { text-align: center; font-size: 42px; margin-bottom: 50px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.advantages-grid div { background: white; padding: 25px; border-radius: 15px; text-align: center; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.05); }

/* --- АДАПТИВНАЯ ВЕРСТКА --- */

/* Планшеты и ноутбуки */
@media(max-width: 992px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { padding: 40px 20px; }
    .about-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .delivery-box { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Смартфоны */
@media(max-width: 600px) {
    .hero-left h1 { font-size: 32px; }
    .hero-form { 
        position: static; 
        transform: none; 
        width: 90%; 
        margin: 20px auto; 
    }
    .steps-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .delivery-box div { padding: 20px; }
    .delivery-box h2 { font-size: 24px; }
}
