* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ========== ШАПКА ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1e293b;
    z-index: 1000;
    padding: 12px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon img {
    height: 60px;
    width: auto;
    display: block;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo span {
    color: #60a5fa;
}

/* Десктопное меню */
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #60a5fa;
}

.nav-phone {
    background: #3b82f6;
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background 0.3s;
}

.nav-phone:hover {
    background: #2563eb;
    color: white !important;
}

.burger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
    z-index: 1002;
}

/* ========== МОБИЛЬНОЕ МЕНЮ ========== */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #1e293b;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1101;
    transition: left 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #334155;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
}

.mobile-menu-logo .logo-icon img {
    height: 60px;
}

.mobile-menu-logo span {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.close-menu {
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.3s;
}

.close-menu:hover {
    color: #f87171;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #cbd5e1;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    padding-left: 15px;
}

.mobile-nav-links a:hover {
    color: #60a5fa;
    border-left-color: #60a5fa;
    transform: translateX(5px);
}

.mobile-phone {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #334155;
}

.mobile-phone a {
    display: block;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    padding: 12px;
    text-align: center;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mobile-phone .monitoring-phone {
    background: transparent;
    border: 1px solid #3b82f6;
    color: #60a5fa;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .burger {
        display: block;
    }
}

/* ========== ГЛАВНЫЙ ЭКРАН ========== */
.hero {
    padding-top: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)), url('../images/fire-security-equipment-and-blueprint-on-a-table-good-for-security-service-engineering-company-site-web.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.hero-image {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-image i {
    font-size: 120px;
    color: #60a5fa;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        background-attachment: scroll;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-image {
        order: -1;
    }
}

/* ========== УСЛУГИ ========== */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #1e293b;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s;
    border: 1px solid #334155;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 50px;
    color: #60a5fa;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.5;
}

/* ========== О КОМПАНИИ ========== */
.about {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(rgba(30, 41, 59, 0.92), rgba(30, 41, 59, 0.95)), url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=2070&auto=format');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
}

.about-content p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    padding: 15px 25px;
    border-radius: 16px;
    backdrop-filter: blur(5px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #60a5fa;
}

.stat p {
    color: #cbd5e1;
    font-size: 14px;
}

.about-image {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.about-image i {
    font-size: 100px;
    color: #60a5fa;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .stats {
        justify-content: center;
    }
    .about {
        background-attachment: scroll;
    }
}

/* ========== КАРТА ========== */
.map-section {
    padding: 80px 0;
    background: #0f172a;
}

.map-container {
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #334155;
    margin-top: 20px;
}

/* ========== КОНТАКТЫ ========== */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #1e293b;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #334155;
}

.contact-info {
    background: #0f172a;
    padding: 50px;
    color: white;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info p {
    color: #94a3b8;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.contact-detail i {
    font-size: 24px;
    color: #60a5fa;
}

.contact-detail a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-detail a:hover {
    color: #60a5fa;
}

.contact-form {
    padding: 50px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #334155;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    background: #0f172a;
    color: #ffffff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #64748b;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #2563eb;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== ФУТЕР ========== */
footer {
    background: #0a0f1a;
    padding: 60px 0 30px;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3b82f6;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    cursor: pointer;
    text-decoration: none;
}

.footer-logo .logo-icon img {
    height: 60px;
}

.footer-logo span {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #60a5fa;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #94a3b8;
}

.contact-item i {
    width: 20px;
    color: #60a5fa;
}

.contact-item a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #60a5fa;
}

.work-hours {
    color: #94a3b8;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #1e293b;
}

.monitoring-phone-footer {
    margin-top: 10px;
    font-size: 14px;
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 14px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 768px) {
    .footer-grid {
        gap: 30px;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-item {
        justify-content: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .about-title {
        font-size: 36px;
    }
    .directions-title {
        font-size: 28px;
    }
    .about-text {
        font-size: 1rem;
    }
    .about-text-large {
        font-size: 1.4rem;
    }
    .directions-grid {
        grid-template-columns: 1fr;
    }
}

.footer-bottom a {
    color: #60a5fa;  /* ← это голубой цвет */
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ */
@media (max-width: 768px) {
    /* Отступ сверху для hero-image от хедера */
    .hero-image {
        margin-top: 20px;
    }
    
    /* Отступ снизу для кнопки */
    .hero-content .btn-primary {
        margin-bottom: 30px;
    }
}


