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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #f0f0f0;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
     align-items: center;
}

header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    color: white;
    letter-spacing: -0.5px;
}

.logo span {
    color: #ff4d4d;
    background: linear-gradient(135deg, #ff4d4d, #ff9a3c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: 0.2s;
}

nav a:hover, nav a.active {
    color: #ff6b4a;
}

.mobile-menu {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1612287230202-1ff1d85d1cdf?w=1600&h=700&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
}

.accent {
    color: #ff5e3a;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, #ff4d4d, #ff8c42);
    padding: 14px 32px;
    border-radius: 40px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-top: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,77,77,0.3);
}

.img-gallery {
    display: flex;
    gap: 24px;
    margin: 60px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.img-gallery img {
    width: 100%;
    max-width: 350px;
    border-radius: 24px;
    object-fit: cover;
    transition: 0.3s;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.about-text {
    background: #111118;
    padding: 60px 0;
    border-radius: 48px 48px 0 0;
}

.long-text p, .long-text ul {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #ddd;
}

.long-text h3 {
    margin: 30px 0 12px 0;
    font-size: 28px;
    color: white;
}

.long-text ul {
    padding-left: 28px;
}

.char-count {
    background: #1e1e2a;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    margin-top: 20px;
}

.services-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px 0;
}

.service-card {
    background: #1a1a24;
    padding: 30px;
    border-radius: 28px;
    text-align: center;
    width: 240px;
    transition: 0.2s;
}

.service-card i {
    font-size: 48px;
    color: #ff6b4a;
    margin-bottom: 20px;
}

footer {
    background: #050508;
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col ul {
    list-style: none;
}

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

.social i {
    font-size: 24px;
    margin-right: 15px;
    color: #aaa;
    transition: 0.2s;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    color: #666;
    font-size: 14px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin: 50px auto;
}

.portfolio-card {
    background: #14141c;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.2s;
}

.portfolio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-info {
    padding: 20px;
}

.about-content {
    padding: 50px 0;
}

.about-img {
    width: 100%;
    border-radius: 28px;
    margin-bottom: 30px;
}

.team-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff5e3a;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin: 50px auto;
}

.contact-info, .contact-form {
    flex: 1;
    background: #111118;
    padding: 32px;
    border-radius: 32px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    background: #1e1e2a;
    border: 1px solid #2c2c3a;
    border-radius: 20px;
    color: white;
}

.page-header {
    text-align: center;
    padding: 60px 0 20px;
    background: linear-gradient(145deg, #0a0a0f, #13131c);
}

@media (max-width: 800px) {
    nav ul {
        display: none;
        flex-direction: column;
        background: #0f0f17;
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 20px;
        border-radius: 20px;
        width: 200px;
    }
    nav ul.show {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    .hero-content h1 {
        font-size: 36px;
    }
}
/* Для страницы услуг */
.service-block {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    background: #111118;
    border-radius: 32px;
    padding: 30px;
}
.service-block.reverse { flex-direction: row-reverse; }
.service-block img {
    width: 280px;
    border-radius: 24px;
    object-fit: cover;
}
.cta-banner {
    background: linear-gradient(90deg, #ff4d4d, #ff8c42);
    text-align: center;
    padding: 60px 20px;
    border-radius: 48px;
    margin: 40px auto;
    width: 90%;
}
.cta-banner .btn-primary { background: white; color: #ff4d4d; }

/* Для вакансий */
.jobs-list { display: flex; flex-direction: column; gap: 24px; margin: 40px 0; }
.job-card { background: #1a1a24; padding: 24px; border-radius: 28px; border-left: 5px solid #ff5e3a; }
.btn-small { display: inline-block; background: #ff5e3a; padding: 8px 20px; border-radius: 30px; color: white; text-decoration: none; margin-top: 12px; }
.careers-text { background: #0f0f17; padding: 32px; border-radius: 32px; }

/* Для блога */
.blog-grid { display: flex; flex-direction: column; gap: 40px; margin: 50px 0;  align-items: center;}
.blog-post { display: flex; gap: 30px; background: #111118; border-radius: 28px; overflow: hidden; align-items: center; }
.blog-post img { width: 260px; object-fit: cover; }
.blog-post div { padding: 20px;  align-items: center;}
.blog-post .meta { color: #aaa; font-size: 14px; margin: 8px 0; }
.blog-post a { color: #ff8c42; text-decoration: none; font-weight: 600; }
.pagination { text-align: center; margin: 30px 0; }
.pagination a, .pagination span { display: inline-block; margin: 0 5px; padding: 8px 14px; background: #1e1e2a; border-radius: 30px; color: white; text-decoration: none; }
.pagination .active { background: #ff5e3a; }

@media (max-width: 700px) {
    .service-block, .service-block.reverse { flex-direction: column; text-align: center; }
    .blog-post { flex-direction: column; }
    .blog-post img { width: 100%; }
}