:root {
    --nxs-primary: #0F172A; /* Navy Blue */
    --nxs-secondary: #334155; /* Slate */
    --nxs-accent: #2563EB; /* Royal Blue */
    --nxs-bg: #F8FAFC;
    --nxs-white: #FFFFFF;
    --nxs-text: #1E293B;
    --nxs-font: 'Inter', sans-serif;
    --nxs-font-head: 'Playfair Display', serif; /* Для солидности */
}

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

body {
    font-family: var(--nxs-font);
    color: var(--nxs-text);
    background-color: var(--nxs-bg);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--nxs-font-head);
    color: var(--nxs-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Header */
.nxs-header {
    background: var(--nxs-white);
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nxs-nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nxs-logo {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nxs-primary);
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nxs-logo img { width: 36px; height: 36px; }

.nxs-menu { display: flex; gap: 32px; }
.nxs-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nxs-secondary);
}
.nxs-menu a:hover { color: var(--nxs-accent); }

/* Mobile Menu */
.nxs-burger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--nxs-primary); }
.nxs-mobile-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: var(--nxs-white);
    border-top: 1px solid #E2E8F0;
    padding: 20px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.nxs-mobile-nav a { display: block; padding: 15px 0; border-bottom: 1px solid #F1F5F9; color: var(--nxs-primary); font-weight: 600; }
.nxs-mobile-nav.active { display: block; }

/* Hero Section (Corporate) */
.nxs-hero {
    position: relative;
    height: 600px;
    background: url('https://images.pexels.com/photos/3183197/pexels-photo-3183197.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') center/cover no-repeat;
    display: flex;
    align-items: center;
}
.nxs-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.7) 100%);
}
.nxs-hero-content {
    position: relative; z-index: 10;
    max-width: 1200px; margin: 0 auto; padding: 20px;
    color: var(--nxs-white);
}
.nxs-hero h1 {
    font-size: 3.5rem;
    color: var(--nxs-white);
    max-width: 700px;
    line-height: 1.2;
}
.nxs-hero p { font-size: 1.2rem; color: #CBD5E1; max-width: 600px; margin-bottom: 40px; }
.nxs-btn {
    display: inline-block;
    background: var(--nxs-accent);
    color: var(--nxs-white);
    padding: 16px 32px;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}
.nxs-btn:hover { background: #1D4ED8; }

/* Sections */
.nxs-section { padding: 100px 20px; }
.nxs-bg-light { background: var(--nxs-white); }
.nxs-container { max-width: 1200px; margin: 0 auto; }

.nxs-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; position: relative; display: inline-block; width: 100%; }
.nxs-title::after {
    content: ''; display: block; width: 60px; height: 3px;
    background: var(--nxs-accent); margin: 20px auto 0;
}

/* About Grid */
.nxs-about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.nxs-about-img { width: 100%; height: 400px; object-fit: cover; border-radius: 2px; box-shadow: 20px 20px 0px var(--nxs-primary); }

/* Services List */
.nxs-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}
.nxs-card {
    background: var(--nxs-bg);
    padding: 40px;
    border-left: 4px solid var(--nxs-accent);
    transition: transform 0.3s;
}
.nxs-card:hover { transform: translateY(-5px); background: var(--nxs-white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.nxs-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.nxs-card p { color: var(--nxs-secondary); font-size: 0.95rem; }

/* Form */
.nxs-form-wrap { max-width: 700px; margin: 0 auto; background: var(--nxs-white); padding: 50px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.nxs-group { margin-bottom: 25px; }
.nxs-label { display: block; margin-bottom: 10px; font-size: 0.85rem; text-transform: uppercase; font-weight: 700; color: var(--nxs-secondary); }
.nxs-input {
    width: 100%; padding: 15px; background: #F1F5F9;
    border: 1px solid #E2E8F0; font-family: inherit; border-radius: 2px;
}
.nxs-input:focus { outline: 2px solid var(--nxs-accent); background: #fff; }
.nxs-submit { width: 100%; border: none; cursor: pointer; }

/* Footer */
.nxs-footer { background: var(--nxs-primary); color: #94A3B8; padding: 80px 20px 30px; font-size: 0.9rem; }
.nxs-footer h4 { color: var(--nxs-white); font-size: 1.1rem; margin-bottom: 20px; }
.nxs-footer a { color: #CBD5E1; display: block; margin-bottom: 10px; }
.nxs-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; max-width: 1200px; margin: 0 auto 60px; }
.nxs-copy { text-align: center; border-top: 1px solid #1E293B; padding-top: 30px; }

/* Cookie */
.nxs-cookie {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--nxs-primary); color: #fff; padding: 20px;
    display: none; z-index: 2000; text-align: center;
}
.nxs-cookie-btn {
    background: var(--nxs-accent); color: #fff; border: none;
    padding: 8px 24px; margin-left: 15px; cursor: pointer; font-weight: 600;
}

@media (max-width: 768px) {
    .nxs-menu { display: none; }
    .nxs-burger { display: block; }
    .nxs-hero h1 { font-size: 2.5rem; }
    .nxs-about-grid { grid-template-columns: 1fr; }
    .nxs-about-img { height: 300px; margin-bottom: 30px; box-shadow: none; }
}