/* ─── NAV ───────────────────────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(
        to bottom,
        rgba(14, 13, 11, 0.97) 0%,
        transparent 100%
    );
    transition: background 0.4s;
}

nav.scrolled {
    background: rgba(14, 13, 11, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 16px 60px;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text);
    text-decoration: none;
    line-height: 1;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    padding: 10px 24px;
    border: none;
    text-decoration: none;
    transition:
        background 0.25s,
        letter-spacing 0.25s;
}

.nav-cta:hover {
    background: var(--accent-2);
    letter-spacing: 0.13em;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-burger span {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--text);
    transition:
        transform 0.3s,
        opacity 0.3s;
}

.nav-burger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
    opacity: 0;
}

.nav-burger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(14, 13, 11, 0.98);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-mobile a:hover {
    color: var(--accent);
}

/* ─── SECTION BASE ──────────────────────────────────────────────────────── */
section {
    position: relative;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
}

.section-num {
    font-family: var(--font-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(38px, 5vw, 72px);
    /* Fallback для браузеров без поддержки clamp() */
    font-size: max(38px, min(5vw, 72px));
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

/* ─── FOOTER ────────────────────────────────────────────────────────────── */
footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 60px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent);
}

.footer-copy {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

.footer-city {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}
