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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    color: #2c2c2c;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */

.header {
    background: url('header-bg.jpg') no-repeat center top;
    background-size: cover;
    padding-bottom: 120px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
}

.logo {
    font-size: 26px;
    font-weight: 600;
}

.logo-i {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(45deg, #2f80ed, #9b51e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-ru {
    color: #ff7a50;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
}

.phone {
    font-weight: 600;
    color: #2f80ed;
}

.hero {
    margin-top: 60px;
    max-width: 600px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* BUTTONS */

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #2f80ed, #9b51e0);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    border: 1px solid #ccc;
    color: #333;
}

/* SECTIONS */

section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

/* CARDS */

.services-grid,
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    margin-bottom: 15px;
}

/* CONSULTATION */

.consultation {
    background: linear-gradient(120deg, #eef3ff, #f9f2ff);
    border-radius: 20px;
    margin: 40px auto;
    width: 90%;
}

.consultation-wrapper {
    padding: 60px 20px;
}

.consultation-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.consultation-form input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    flex: 1;
    min-width: 200px;
}

.agreement {
    font-size: 12px;
    margin-top: 10px;
    display: block;
}

/* FOOTER */

.footer {
    background: #2f3b66;
    color: #fff;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer h4 {
    margin-bottom: 15px;
}

.footer a {
    color: #d0d8ff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    background: #263057;
    font-size: 14px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

    .header {
        padding-bottom: 80px;
    }
}