:root {
    --bg-primary: #0a0a0c;
    --bg-secondary: #111114;
    --bg-card: #16161a;
    --bg-card-hover: #1c1c22;
    --accent: #c8a45c;
    --accent-light: #e0c280;
    --accent-dark: #a07830;
    --spark: #ff6b2b;
    --spark-light: #ff9a5c;
    --text: #eeeef0;
    --text-secondary: #9999a5;
    --text-muted: #666670;
    --border: #2a2a32;
    --border-light: #3a3a44;
    --shadow: rgba(0, 0, 0, 0.5);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

a, button, input, select, textarea, [role="button"] {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Кастомные скроллбары */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.15) transparent; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: padding 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    transition: var(--transition);
    height: 38px;
    padding: 0 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
}

.nav-logo:hover {
    background: rgba(255, 255, 255, 0.12);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(200, 164, 92, 0.3));
}

.logo-icon svg {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 6px;
    height: 38px;
    align-items: center;
    padding: 0 4px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
}

.nav-link {
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 38px;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(80px);
    -webkit-backdrop-filter: blur(80px);
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.nav-toggle:active {
    transform: scale(0.95);
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-overlay {
    display: none;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(200, 164, 92, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 107, 43, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-primary) 0%, #0d0d10 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--accent), 0 0 12px rgba(200, 164, 92, 0.3);
    animation: particleFloat linear infinite;
    opacity: 0;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(0); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,12,0.3) 0%, rgba(10,10,12,0.1) 40%, rgba(10,10,12,0.6) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hero-title-line {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 40%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(200, 164, 92, 0.3));
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #0a0a0c;
    box-shadow: 0 4px 20px rgba(200, 164, 92, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 164, 92, 0.4);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, var(--accent), var(--spark), var(--accent));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-glow:hover::before {
    opacity: 1;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0%, 100% { filter: blur(8px); }
    50% { filter: blur(12px); }
}

.btn-outline {
    border: 2px solid var(--border-light);
    color: var(--text);
    background: rgba(255,255,255,0.03);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 164, 92, 0.05);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat { text-align: center; }

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(200, 164, 92, 0.1);
    border: 1px solid rgba(200, 164, 92, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-divider span {
    color: var(--accent);
    display: flex;
    align-items: center;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.about {
    background:
        radial-gradient(ellipse at 80% 80%, rgba(200, 164, 92, 0.04) 0%, transparent 50%),
        var(--bg-secondary);
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 164, 92, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(200, 164, 92, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon svg {
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.gallery {
    background: var(--bg-primary);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--accent);
    border-color: rgba(200, 164, 92, 0.3);
    background: rgba(200, 164, 92, 0.05);
}

.filter-btn.active {
    color: #0a0a0c;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(200, 164, 92, 0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 24px;
}

.gallery-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.hidden {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    position: absolute;
    pointer-events: none;
}

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 164, 92, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(200, 164, 92, 0.08);
}

.card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .card-image img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,10,12,0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-card:hover .card-overlay { opacity: 1; }

.card-zoom {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(200, 164, 92, 0.9);
    color: #0a0a0c;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(200, 164, 92, 0.4);
}

.gallery-card:hover .card-zoom { transform: scale(1); }
.card-zoom:hover { background: var(--accent-light); transform: scale(1.1) !important; }

.card-info {
    padding: 20px;
}

.card-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(200, 164, 92, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contacts {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(200, 164, 92, 0.06) 0%, transparent 50%),
        var(--bg-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: var(--transition);
    opacity: 0;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-card:hover::after { opacity: 1; }

.contact-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-icon-phone {
    background: rgba(200, 164, 92, 0.1);
    color: var(--accent);
}
.contact-card:hover .contact-icon-phone {
    background: var(--accent);
    color: #0a0a0c;
    box-shadow: 0 8px 30px rgba(200, 164, 92, 0.3);
}
.contact-card:nth-child(1)::after { background: var(--accent); }

.contact-icon-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}
.contact-card:hover .contact-icon-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
}
.contact-card:nth-child(2)::after { background: #25d366; }

.contact-icon-telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}
.contact-card:hover .contact-icon-telegram {
    background: #0088cc;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.3);
}
.contact-card:nth-child(3)::after { background: #0088cc; }

.contact-icon-max {
    background: transparent;
}
.contact-icon-max svg {
    border-radius: 8px;
}
.contact-card:hover .contact-icon-max {
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.3);
}
.contact-card:nth-child(4)::after { background: #5865f2; }

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contacts-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-item svg { color: var(--accent); flex-shrink: 0; }

.footer {
    padding: 50px 0 30px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.footer-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-socials a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 164, 92, 0.08);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 40px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0;
    line-height: 1;
}

.lightbox-close svg {
    display: block;
    flex-shrink: 0;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
    border-color: rgba(255,255,255,0.4);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: var(--transition-slow);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    text-align: center;
    margin-top: 20px;
    max-width: 600px;
}

.lightbox-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #fff;
}

.lightbox-info p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: rgba(20, 20, 25, 0.75);
        backdrop-filter: blur(80px) saturate(180%);
        -webkit-backdrop-filter: blur(80px) saturate(180%);
        flex-direction: column;
        padding: 100px 20px 40px;
        gap: 0;
        transition: right 0.4s cubic-bezier(0.32, 0.72, 0, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: -20px 0 60px rgba(0,0,0,0.4);
        border-radius: 0;
    }

    .nav-menu.open { right: 0; }

    .nav-menu li {
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.open li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.open li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.open li:nth-child(2) { transition-delay: 0.18s; }
    .nav-menu.open li:nth-child(3) { transition-delay: 0.26s; }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        font-size: 1.15rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.75);
        border-radius: 16px;
        transition: all 0.25s ease;
        letter-spacing: -0.01em;
    }

    .nav-link:hover, .nav-link.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
    }

    .hero { min-height: 100svh; }
    .hero-content { padding: 0 20px; }
    .hero-stats { gap: 30px; }
    .stat-number { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; justify-content: center; }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    .about-text { font-size: 1rem; margin-bottom: 32px; }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .card-info { padding: 12px; }
    .card-title { font-size: 0.95rem; }
    .card-category { font-size: 0.7rem; padding: 3px 8px; }
    .card-desc { font-size: 0.8rem; }

    .gallery-filters {
        gap: 6px;
        padding: 0 4px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .gallery-filters::-webkit-scrollbar { display: none; }
    .filter-btn { padding: 8px 14px; font-size: 0.8rem; white-space: nowrap; flex-shrink: 0; }

    .contacts-grid { gap: 12px; }
    .contact-card { padding: 28px 20px; }
    .contact-icon { width: 56px; height: 56px; margin-bottom: 14px; }
    .contact-icon svg { width: 24px; height: 24px; }
    .contact-card h3 { font-size: 1rem; }

    .feature-card { padding: 24px 20px; }
    .feature-icon { width: 52px; height: 52px; }
    .feature-icon svg { width: 28px; height: 28px; }

    .lightbox { padding: 16px; }
    .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lightbox-close svg { width: 22px; height: 22px; }
    .lightbox-content img { max-height: 60vh; border-radius: 8px; }
    .lightbox-info { margin-top: 12px; }
    .lightbox-info h3 { font-size: 1.1rem; }

    .footer { padding: 40px 0 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-content { padding: 0 16px; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 28px; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.6rem; }
    .stat-label { font-size: 0.75rem; }

    .section { padding: 48px 0; }
    .section-title { font-size: 1.6rem; }
    .section-tag { font-size: 0.7rem; padding: 5px 12px; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .card-image { aspect-ratio: 1/1; }
    .card-info { padding: 10px; }
    .card-title { font-size: 0.85rem; }
    .card-category { font-size: 0.65rem; padding: 2px 6px; margin-bottom: 4px; }
    .card-desc { display: none; }

    .about-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-info { flex-direction: column; align-items: center; gap: 12px; }

    .footer-socials a { width: 40px; height: 40px; }
}
