:root {
    --bg: #0d0d0d;
    --bg-alt: #131313;
    --surface: #1a1a1a;
    --line: rgba(255, 212, 0, 0.12);
    --text: #f2f2f0;
    --text-muted: #9b9b94;
    --accent: #ffd400;
    --accent-soft: #ffe14d;
    --radius: 12px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --container: 1160px;
    --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

::selection {
    background: var(--accent);
    color: #0d0d0d;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-link {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    border: 1px solid rgba(255, 212, 0, 0.4);
    padding: 0.5rem 1.2rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.8rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.brand-logo {
    width: 46px;
    height: 46px;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-sub {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    margin-top: 3px;
}

main {
    display: flex;
    flex-direction: column;
}

.models {
    order: -1;
    padding-block: 2.5rem 3.5rem;
    background:
        radial-gradient(900px 420px at 20% -10%, rgba(255, 212, 0, 0.07), transparent 60%),
        var(--bg);
}

.ads-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent);
    border-left: 3px solid var(--accent);
    padding-left: 0.7rem;
    margin: 0 0 1rem;
}

.grid-vip {
    margin-bottom: 2.5rem;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    content-visibility: auto;
    contain-intrinsic-size: auto 340px;
}

.grid-regular {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.6rem;
}

.card {
    position: relative;
    display: block;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
}

.model-card img {
    aspect-ratio: 3 / 4;
    width: 100%;
    object-fit: cover;
}

.photo-empty {
    aspect-ratio: 3 / 4;
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.grid-regular .model-card img,
.grid-regular .photo-empty {
    aspect-ratio: 1 / 1;
}

.empty-note {
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-align: center;
    padding: 2rem 0;
}

.seo-text {
    padding: 3rem 0 4rem;
    border-top: 1px solid var(--line);
}

.seo-text h1 {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1rem;
}

.seo-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 72ch;
    margin-bottom: 1rem;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    max-width: 72ch;
    margin-top: 1.2rem;
}

.keyword-list li {
    font-size: 0.78rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    letter-spacing: 0.03em;
}

.keyword-list a {
    color: var(--text);
}

.keyword-list a:hover {
    color: var(--accent);
}

.district-nav {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.district-nav-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}

.district-nav .keyword-list {
    margin: 0;
}

.card-body {
    padding: 0.7rem 0.85rem 0.9rem;
    border-top: 1px solid var(--line);
}

.card-body h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.meta {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

.grid-regular .card-body {
    padding: 0.5rem 0.6rem 0.65rem;
    border-top: 1px solid var(--line);
}

.grid-regular .card-body h3 {
    font-size: 0.92rem;
}

.grid-regular .meta {
    font-size: 0.68rem;
}

@media (max-width: 1100px) {
    .model-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-regular {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 700px) {
    .model-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-regular {
        grid-template-columns: repeat(3, 1fr);
    }
}

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-alt);
    padding: 1.6rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 1.1rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    border-bottom: 1px solid transparent;
}

.footer-nav a:focus-visible {
    outline: 1px solid var(--accent);
    outline-offset: 3px;
}