/* ПЕРЕМЕННЫЕ И ОСНОВЫ */
:root {
    --bg-dark: #0d0f11;
    --card-bg: #161a1d;
    --accent: #ffcc00;
    --danger: #ff3e3e;
    --text-high: #f0f2f5;
    --text-low: #9da5b1;
    --border: #2d343b;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-main: 'Inter', sans-serif;
    --font-accent: 'Orbitron', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-high);
    font-family: var(--font-main), sans-serif;
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding-top: 100px;
}

section {
    padding: 60px 0;
    scroll-margin-top: 100px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ТИПОГРАФИКА */
h1, h2, h3, .logo, .stat-num {
    font-family: var(--font-accent), sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    word-break: break-word;
}

h1 {
    font-size: 2.8rem;
    margin: 0;
}
h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h1 {
    font-size: 3.2rem;
    font-weight: 900;
    background: linear-gradient(0deg, #a1a8b5 0%, #ffffff 50%, #f2f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.subtitle {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    opacity: 0.9;
}

.highlight {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    margin: 25px 0;
    text-align: left;
}

p {
    color: var(--text-low);
    margin-bottom: 15px;
    text-align: left;
}

strong {
    color: var(--accent);
}

/* ЭФФЕКТЫ ЦИФР */
.stat-num {
    font-size: 2.5rem;
    color: var(--accent);
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
    display: block;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.8rem;
    color: var(--text-low);
    text-transform: uppercase;
}

/* ШАПКА */
header {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(13, 15, 17, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.4rem;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 4px 15px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0; padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-high);
    font-size: 0.9rem;
    font-family: var(--font-accent), serif;
    opacity: 0.7;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: 0.3s;
}

.nav-link.active::after {
    width: 100%;
}

/* СЕТКИ КОНТЕНТА */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.problem-reports {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.report {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.report:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}
.report-content {
    padding: 20px;
}

.report h3 {
    color: var(--text-high);
    font-size: 1.1rem;
}

.highlight-word {
    color: var(--accent);
}

.status-badge {
    background: var(--accent);
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 700;
}

.status-stop {
    background: var(--danger);
    color: #fff;
}

/* КОМАНДА */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.member-card {
    background: var(--card-bg);
    padding: 30px;
    text-align: center;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.member-photo {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ПОДВАЛ */
footer {
    padding: 60px 0;
    background: #090b0d;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-title h2 {
    font-size: 2.2rem;
    text-align: left;
    margin: 0;
    text-transform: none;
    font-family: var(--font-main), serif;
}

.footer-info {
    text-align: right;
}

.contact-details p {
    margin: 4px 0;
    font-size: 0.95rem;
    color: #fff;
    text-align: right;
}

.contact-details a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent);
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: var(--transition);
}

.social-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
}

.social-link:hover img {
    filter: brightness(0);
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .problem-reports {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 150px;
    }

    .header-flex {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }

    .nav-list {
        gap: 10px 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-title h1 {
        font-size: 2rem;
    }

    .problem-reports, .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-title h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    .footer-info {
        text-align: center;
    }
    .contact-details p {
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title h1 {
        font-size: 1.7rem;
    }
    .logo {
        font-size: 1.1rem;
    }
    .member-photo {
        width: 140px;
        height: 140px;
    }
}