* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    background-color: #ffffff;
    line-height: 1.5;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Шапка */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo h1 {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0b2b40, #1a5f7a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.logo span {
    color: #e67e22;
}

.city {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    background: #f0f4f8;
    padding: 6px 14px;
    border-radius: 40px;
    font-weight: 500;
}

.phone-block {
    text-align: right;
}

.phone {
    font-weight: 700;
    font-size: 1.3rem;
    color: #1a5f7a;
    text-decoration: none;
}

.callback {
    font-size: 0.75rem;
    color: #e67e22;
    text-decoration: none;
    border-bottom: 1px dashed;
}

/* Меню навигации */
.nav-menu {
    background: #0b2b40;
    position: sticky;
    top: 74px;
    z-index: 99;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Кнопка бургер */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    transition: all 0.3s ease-in-out;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.2s;
    padding: 5px 10px;
    border-radius: 20px;
}

.nav-links a:hover {
    background: #e67e22;
    color: white;
}

.nav-links a.active {
    background: #e67e22;
    color: white;
}

/* Герой */
.hero {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #f0f7fc 0%, #e6f0f5 100%);
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    min-width: 280px;
}

.hero-text h2 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #e67e22;
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(230,126,34,0.3);
}

.btn-outline {
    background: transparent;
    color: #1a5f7a;
    border: 2px solid #1a5f7a;
    box-shadow: none;
    margin-left: 15px;
}

.btn-outline:hover {
    background: #1a5f7a;
    color: white;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.2);
}

/* Направления */
.services {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #5a6874;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: white;
    padding: 28px 20px;
    border-radius: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    border: 1px solid #e2edf2;
    transition: all 0.25s;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #e67e22;
}

.service-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* Блок согласование */
.approval {
    background: linear-gradient(115deg, #0b2b40 0%, #144d64 100%);
    color: white;
    border-radius: 40px;
    padding: 50px 40px;
    margin: 30px 0 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.approval-text h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.approval-btn .btn {
    background: #e67e22;
    margin: 0;
}

/* Преимущества */
.advantages {
    background: #f8fbfd;
    padding: 70px 0;
}

.adv-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px;
    margin-top: 30px;
}

.adv-card {
    text-align: center;
    flex: 1;
    min-width: 160px;
}

.adv-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: #e67e22;
}

/* Форма */
.form-section {
    background: #1a5f7a;
    color: white;
    padding: 55px 30px;
    text-align: center;
    border-radius: 40px;
    margin: 50px 0 70px;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.form-group input {
    padding: 15px 22px;
    border-radius: 60px;
    border: none;
    width: 270px;
    font-size: 1rem;
}

.form-group button {
    background: #e67e22;
    border: none;
    padding: 15px 34px;
    font-weight: bold;
    border-radius: 60px;
    cursor: pointer;
    color: white;
    font-size: 1rem;
}

/* Футер */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #e0edf2;
    font-size: 0.9rem;
    color: #4a5b6e;
}

.footer a {
    color: #1a5f7a;
    text-decoration: none;
}

/* Страницы направлений */
.page-title {
    font-size: 2.5rem;
    margin: 50px 0 20px;
    font-weight: 800;
    color: #0b2b40;
}

.content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

.content-text {
    flex: 1;
}

.content-text ul {
    margin: 20px 0 0 20px;
}

.content-text li {
    margin: 10px 0;
}

.content-image {
    flex: 1;
}

.content-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.1);
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #f8fbfd;
    border-radius: 20px;
    overflow: hidden;
}

.price-table th, .price-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0edf2;
}

.price-table th {
    background: #1a5f7a;
    color: white;
}

/* Адаптив с бургер-меню */
@media (max-width: 900px) {
    .nav-menu {
        top: 74px;
    }
    
    .burger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 74px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 74px);
        background: #0b2b40;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 40px 20px;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 100;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 20px;
        display: block;
        width: 100%;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .phone-block {
        text-align: center;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 12px;
    }
    
    .approval {
        text-align: center;
        justify-content: center;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 580px) {
    .container {
        padding: 0 18px;
    }
    
    .hero-text h2 {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-group input, .form-group button {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .adv-flex {
        flex-direction: column;
        gap: 25px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .content {
        flex-direction: column;
    }
    
    .price-table th, .price-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .phone {
        font-size: 1rem;
    }
}
