* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.3;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

/* Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1px 0;
}


.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.nav-left, .nav-right {
    display: flex;
    gap: 25px;
}

.logo img {
    height: 100px;
    width: auto;
    max-height: 100px;
    display: block;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #007bff;
}



/* Hero (block 2) — без изменений в вашем коде */
.block-two {
    padding-top: 130px;
    min-height: 100vh;
    background: #6b7280;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding-bottom: 40px;
}

.text-content {
    max-width: 1000px;
    margin: 0 auto;
    color: white;
    text-align: left;
    background: rgba(0, 0, 0, 0.55);
    padding: 40px 40px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    line-height: 1.3;          /* чуть плотнее для читаемости на фоне */
}

.text-content h1 {
    color: #4cc9f0;
    margin-bottom: 0.8em;
    font-size: clamp(1.6rem, 5.5vw, 1.7rem);
    text-align: center;
    line-height: 1.3;           /* заголовки обычно плотнее */
}

.text-content h2 {
    color: #4cc9f0;
    margin: 1em 0 0.7em;
    font-size: 1.4rem;
    line-height: 1.3;
}

.text-content h3 {
    color: #fff;
    margin: 1em 0 0.5em;
    font-size: 1.2rem;
    line-height: 1.3;
}

.text-content p {
    font-size: 0.9rem;
    margin-bottom: 0.5em;
    color: #f0f0f0;
    line-height: 1.3;          /* основной текст — комфортно */
}

.text-content strong {
    color: #4cc9f0;
    font-weight: bold;
}

.text-content ul, 
.text-content ol {
    margin: 0.5em 0 1em 0.5em;
    font-size: 0.9rem;
    line-height: 1.3;
}

.text-content li {
    margin-bottom: 0.4em;       /* чуть меньше, чем было */
    line-height: 1.3
}

.text-content .note {
    font-style: italic;
    color: #ccc;
    margin-top: 0.5em;
    line-height: 1.1;
}

/* Остальные твои стили без изменений */
.compact-list {
    margin: 0.4em 0 0.4em 0.5rem;
    line-height: 1.12;          /* было 1.5 → приводим к общему стилю */
    font-size: 0.9rem;
}

/* Специальный стиль для ссылки */
.text-content a.special-link {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    transition: all 0.2s ease;
}

.text-content a.special-link:hover,
.text-content a.special-link:focus {
    color: #4cc9f0;
    border-bottom-color: #4cc9f0;
    background: rgba(255,255,255,0.08);
}



       /* FAQ (block 3) */
        .block-three {
            background: #f8f9fa;
            padding: 10px 20px;
            text-align: center;
        }
        .list-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }
        .styled-list {
            list-style: none;
            margin: 2.5rem auto 0;
            padding: 0;
            max-width: 720px;
            text-align: center;
        }
        .styled-list li {
            background: white;
            margin: 0 0 16px;
            padding: 15px 30px;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            text-align: left;
            font-size: 1.1rem;
            text-align: center;
        }
        
        
        
        
          /* Prices (block 4) */
        .block-four {
            padding: 80px 20px;
            text-align: center;
        }
        .prices-wrapper {
            max-width: 1100px;
            margin: 0 auto;
        }
        .tiles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 24px;
            justify-content: center;
            margin-top: 2.5rem;
        }
        .tile {
            background: #007bff;
            color: white;
            padding: 36px 20px;
            border-radius: 8px;
            transition: all 0.25s ease;
            font-weight: 500;
            min-height: 140px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .tile:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.18);
        }
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        /* Contacts + Form (block 5) */
        .block-five {
            background: #f8f9fa;
            padding: 10px 10px;
        }
        .contact-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            max-width: 1100px;
            margin: 0 auto;
            align-items: start;
        }
        .contacts {
            text-align: left;
        }
        
        .contacts h2 {
    margin-bottom: 1.6em;       /* основной отступ под "Contacts" */
    margin-top: 0;              /* убираем возможный верхний отступ, если был */
}
        .contact-info p {
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        .form-group {
            margin-bottom: 10px;
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
        }
        .form-group textarea {
            height: 120px;
            resize: vertical;
        }
        .btn-submit {
            background: #007bff;
            color: white;
            border: none;
            padding: 14px 20px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s;
        }
        .btn-submit:hover {
            background: #0056b3;
        }
        /* Responsive */
        @media (max-width: 900px) {
            .contact-wrapper {
                grid-template-columns: 1fr;
                gap: 50px;
            }
            .contacts {
                text-align: center;
            }
            .contact-info {
                margin: 0 auto;
                max-width: 380px;
            }
        }
        @media (max-width: 768px) {
            .header {
                padding: 10px 0;
            }
            .nav {
                flex-direction: column;
                gap: 18px;
                padding: 10px 0;
            }
            .nav-left, .nav-right {
                flex-direction: row;
                justify-content: center;
                flex-wrap: wrap;
                gap: 20px;
            }
            .logo img {
                height: 80px;
            }
            .block-two {
                padding-top: 180px;
                background-attachment: scroll;
            }
            .text-content {
                padding: 20px 25px;
            }
        }
        @media (max-width: 480px) {
            .text-content h1 {
                font-size: 2rem;
            }
            .text-content h2 {
                font-size: 1.6rem;
            }
        }