/* ========== ОБЩИЕ СТИЛИ ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background: radial-gradient(circle at 20% 30%, #0a0f1e, #020308);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== СТЕКЛЯННЫЙ ХЕДЕР С НЕОНОМ ========== */
header {
    background: rgba(10, 20, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px cyan, 0 0 20px blue;
}

.logo span {
    color: #ff00ff;
    text-shadow: 0 0 10px magenta, 0 0 20px magenta;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(255,255,255,0.3);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: cyan;
    box-shadow: 0 0 10px cyan;
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
    text-shadow: 0 0 10px cyan, 0 0 20px cyan;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    text-shadow: 0 0 8px lime;
}

.social-icons a {
    color: #fff;
    margin-left: 10px;
    font-size: 22px;
    transition: all 0.3s;
    filter: drop-shadow(0 0 5px currentColor);
}

.social-icons a:hover {
    color: cyan;
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px cyan);
}

.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: cyan;
    text-shadow: 0 0 10px cyan;
}

/* ========== НЕОНОВЫЙ ГЕРОЙ ========== */
.hero {
    position: relative;
    background: rgba(0,0,0,0.4);
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    margin-bottom: 40px;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(45deg, rgba(0,255,255,0.1) 0px, rgba(0,255,255,0.1) 2px, transparent 2px, transparent 6px);
    animation: move 20s linear infinite;
    z-index: -1;
}

@keyframes move {
    0% { transform: translate(0,0); }
    100% { transform: translate(10%,10%); }
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px cyan, 0 0 40px magenta;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

/* ========== НЕОНОВЫЕ КНОПКИ ========== */
.btn {
    display: inline-block;
    background: rgba(0,0,0,0.5);
    color: cyan;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid cyan;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px cyan, inset 0 0 10px rgba(0,255,255,0.3);
}

.btn:hover {
    background: cyan;
    color: #000;
    border-color: cyan;
    box-shadow: 0 0 30px cyan, inset 0 0 20px cyan;
    transform: scale(1.05);
}

.btn-link {
    display: inline-block;
    margin: 0 20px 20px;
    color: #ff00ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-shadow: 0 0 8px magenta;
}

.btn-link:hover {
    text-shadow: 0 0 20px magenta, 0 0 40px magenta;
    transform: translateX(5px);
}

/* ========== СТЕКЛЯННЫЕ КАРТОЧКИ УСЛУГ ========== */
.services {
    padding: 60px 0;
    background: transparent;
}

.services h2,
.about h2,
.seo-text h2,
.page-header h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    position: relative;
    color: #fff;
    text-shadow: 0 0 15px cyan, 0 0 30px magenta;
}

.services h2:after,
.about h2:after,
.seo-text h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, cyan, magenta);
    box-shadow: 0 0 20px cyan, 0 0 20px magenta;
    margin: 15px auto 0;
    border-radius: 4px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(20, 30, 40, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: cyan;
    box-shadow: 0 0 40px cyan, 0 0 60px magenta;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
    filter: brightness(0.8) saturate(1.2);
}

.service-card:hover img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1.5);
}

.service-card h3 {
    padding: 15px 20px 10px;
    font-size: 22px;
    color: cyan;
    text-shadow: 0 0 5px cyan;
}

.service-card p {
    padding: 0 20px 15px;
    color: #ddd;
}

/* ========== ПРЕИМУЩЕСТВА С НЕОНОМ ========== */
.about {
    padding: 60px 0;
    background: transparent;
}

.features {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.feature {
    text-align: center;
    flex: 1 1 200px;
    padding: 20px;
    background: rgba(20, 30, 40, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 20px;
    box-shadow: 0 0 15px magenta;
    transition: all 0.3s;
}

.feature:hover {
    transform: scale(1.05);
    border-color: cyan;
    box-shadow: 0 0 30px cyan, 0 0 30px magenta;
}

.feature i {
    font-size: 48px;
    color: cyan;
    text-shadow: 0 0 20px cyan;
    margin-bottom: 15px;
}

.feature h4 {
    color: magenta;
    text-shadow: 0 0 5px magenta;
}

/* ========== СТЕКЛЯННЫЙ САЙДБАР ========== */
.sidebar {
    width: 300px;
    float: right;
    margin: 20px 0 20px 30px;
    background: rgba(10, 20, 30, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 0 30px cyan;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 22px;
    border-left: 5px solid cyan;
    padding-left: 12px;
    color: cyan;
    text-shadow: 0 0 5px cyan;
}

.callback-form input,
.callback-form select,
.callback-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 15px;
    color: #fff;
    transition: all 0.3s;
}

.callback-form input:focus,
.callback-form select:focus,
.callback-form textarea:focus {
    border-color: magenta;
    box-shadow: 0 0 20px magenta, inset 0 0 5px magenta;
    outline: none;
}

.callback-form button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

.form-note {
    font-size: 12px;
    color: #aaa;
    margin-top: -5px;
}

.social-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.social-sidebar a i {
    font-size: 22px;
    width: 30px;
    text-align: center;
    color: cyan;
    text-shadow: 0 0 10px cyan;
}

.social-sidebar a:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: cyan;
    box-shadow: 0 0 20px cyan;
    transform: translateX(5px);
}

/* ========== КОНТЕНТ СТРАНИЦ ========== */
.content {
    padding: 40px 0;
    overflow: hidden;
}

.content-main {
    float: left;
    width: calc(100% - 330px);
}

.page-header {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid cyan;
    box-shadow: 0 0 40px cyan;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 40px;
    margin: 0;
    color: #fff;
    text-shadow: 0 0 15px cyan, 0 0 30px magenta;
}

.article-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin: 20px 0;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    border: 1px solid cyan;
}

/* ========== SEO ТЕКСТ ========== */
.seo-text {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    padding: 40px 0;
    border-radius: 40px;
    margin: 40px 0;
}

.seo-text h3 {
    margin: 30px 0 15px;
    font-size: 24px;
    color: cyan;
    border-left: 4px solid magenta;
    padding-left: 15px;
    text-shadow: 0 0 5px cyan;
}

.seo-text p {
    margin-bottom: 15px;
    font-size: 17px;
    color: #ddd;
}

.seo-text ul,
.seo-text ol {
    margin: 15px 0 20px 30px;
    color: #ccc;
}

.seo-text li {
    margin-bottom: 8px;
}

/* ========== FAQ ========== */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 15px;
}

.faq-item h4 {
    font-size: 18px;
    color: magenta;
    margin-bottom: 8px;
    cursor: pointer;
    text-shadow: 0 0 5px magenta;
}

.faq-item p {
    margin-left: 20px;
    color: #bbb;
}

/* ========== КОНТАКТНАЯ СТРАНИЦА ========== */
.contact-section {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info ul {
    list-style: none;
    margin: 20px 0;
}

.contact-info li {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ddd;
}

.social-links .social-btn {
    display: inline-block;
    margin-right: 10px;
    padding: 12px 25px;
    background: rgba(0,0,0,0.5);
    color: cyan;
    border: 1px solid cyan;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 15px cyan;
}

.social-links .social-btn:last-child {
    border-color: magenta;
    color: magenta;
    box-shadow: 0 0 15px magenta;
}

.social-links .social-btn:hover {
    background: cyan;
    color: #000;
    box-shadow: 0 0 30px cyan;
}

.social-links .social-btn:last-child:hover {
    background: magenta;
    color: #fff;
    box-shadow: 0 0 30px magenta;
}

.map {
    margin-top: 40px;
}

.map iframe {
    border-radius: 20px;
    box-shadow: 0 0 30px cyan;
    border: 1px solid cyan;
}

/* ========== ФУТЕР ========== */
footer {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border-top: 1px solid cyan;
    box-shadow: 0 -10px 30px rgba(0, 255, 255, 0.3);
    color: #ccc;
    padding: 40px 0 20px;
    clear: both;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo a {
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-shadow: 0 0 10px cyan;
}

.footer-logo span {
    color: magenta;
    text-shadow: 0 0 10px magenta;
}

.footer-links ul {
    list-style: none;
}

.footer-links a,
.footer-contacts a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: cyan;
    text-shadow: 0 0 8px cyan;
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-menu li {
        margin: 5px 10px;
    }
    .sidebar {
        float: none;
        width: 100%;
        margin: 20px 0;
        position: static;
    }
    .content-main {
        float: none;
        width: 100%;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: rgba(0,0,0,0.8);
        backdrop-filter: blur(10px);
        padding: 15px 0;
        border-radius: 0 0 20px 20px;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        margin: 10px 0;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 18px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .features {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 26px;
    }
    .phone {
        font-size: 16px;
    }
    .hero {
        padding: 80px 15px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* Дополнительные правки для мобильной шапки */
@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }
    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .logo a {
        font-size: 24px;
    }
    .header-contacts {
        margin-left: auto;
        gap: 8px;
    }
    .phone {
        font-size: 14px;
    }
    .social-icons a {
        font-size: 18px;
        margin-left: 5px;
    }
    .burger {
        font-size: 24px;
    }
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(10, 20, 30, 0.95);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid cyan;
        border-top: 1px solid cyan;
        z-index: 99;
        padding: 10px 0;
    }
    .nav-menu li {
        margin: 12px 0;
    }
    .nav-menu a {
        font-size: 18px;
    }
    /* Убираем большой отступ сверху, так как шапка теперь компактнее */
    main {
        padding-top: 10px;
    }
    /* Чтобы сайдбар не наезжал */
    .sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .header-contacts {
        flex-wrap: wrap;
        justify-content: center;
        margin: 5px 0;
    }
    .phone {
        font-size: 13px;
    }
    .logo a {
        font-size: 22px;
    }
    .burger {
        font-size: 22px;
    }
    .nav-menu {
        top: 55px;
    }
}