:root {
    --bg:          #f2f4f7;
    --bg2:         #ffffff;
    --bg3:         #e8ebf0;
    --green:       #1a9c45;
    --green-light: #22b851;
    --green-pale:  rgba(26, 156, 69, 0.10);
    --green-pale2: rgba(26, 156, 69, 0.05);
    --text:        #111827;
    --text-muted:  #6b7280;
    --border:      rgba(26, 156, 69, 0.25);
    --card-bg:     #ffffff;
    --card-border: rgba(0,0,0,0.08);
    --shadow:      0 2px 16px rgba(0,0,0,0.07);
    --shadow-lg:   0 8px 32px rgba(0,0,0,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Golos Text', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(26,156,69,0.35); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    transition: background 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.nav-logo-text span { color: var(--green); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--green);
    background: var(--green-pale2);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-left: 12px;
    background: var(--bg3);
    border-radius: 8px;
    padding: 3px;
    border: 1px solid var(--card-border);
}

.lang-btn {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.18s;
    font-family: 'Golos Text', sans-serif;
    letter-spacing: 0.3px;
    user-select: none;
}

.lang-btn:hover { color: var(--green); }

.lang-btn.active {
    background: var(--green);
    color: #fff;
    box-shadow: 0 2px 6px rgba(26,156,69,0.3);
}

.lang-sep {
    color: var(--card-border);
    font-size: 0.65rem;
    padding: 0 1px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 16px 6%;
    z-index: 999;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 11px 16px;
    border-radius: 10px;
    transition: all 0.2s;
}

.mobile-nav a:hover {
    color: var(--green);
    background: var(--green-pale2);
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 10% 80px;
    overflow: hidden;
    background: linear-gradient(160deg, #f0f7f3 0%, #e8f5ec 40%, #f2f4f7 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26,156,69,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,156,69,0.06) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 0%, transparent 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    animation: orb-float 12s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(26,156,69,0.13) 0%, transparent 70%);
    top: -200px; left: 50%;
    transform: translateX(-50%);
}

.orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(26,156,69,0.09) 0%, transparent 70%);
    bottom: 0; left: 5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(26,156,69,0.07) 0%, transparent 70%);
    bottom: 80px; right: 8%;
    animation-delay: -9s;
}

@keyframes orb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-28px) scale(1.04); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26,156,69,0.1);
    border: 1px solid rgba(26,156,69,0.25);
    border-radius: 100px;
    padding: 6px 18px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.5); }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 22px;
    color: var(--text);
}

.hero h1 .accent { color: var(--green); }

.accent-text { color: var(--green); }

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 38px;
    font-weight: 400;
    line-height: 1.75;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 28px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.22s;
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,156,69,0.30);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--text);
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--card-border);
    cursor: pointer;
    transition: all 0.22s;
    box-shadow: var(--shadow);
}

.btn-ghost:hover {
    border-color: var(--border);
    color: var(--green);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding-top: 36px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-item { text-align: center; }

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
}

.stat-label {
    font-size: 0.73rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 5px;
}

section { padding: 96px 10%; position: relative; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 12px auto 0;
    line-height: 1.7;
}

.section-divider {
    height: 1px;
    background: var(--card-border);
    margin: 0;
}

#about { background: var(--bg2); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1160px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.3;
    color: var(--text);
}

.about-text p {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.feat-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: var(--bg);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid var(--card-border);
    transition: box-shadow 0.2s;
}

.feat-item:hover { box-shadow: var(--shadow); }

.feat-icon {
    width: 34px; height: 34px;
    background: var(--green-pale);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.feat-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1px;
    color: var(--text);
}

.feat-text span {
    font-size: 0.775rem;
    color: var(--text-muted);
}

.about-card-main {
    background: var(--bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-card-main::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    border-radius: 20px 20px 0 0;
}

.about-logo-large {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1;
    margin-bottom: 6px;
}

.about-logo-sub {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.about-card-divider {
    height: 1px;
    background: var(--card-border);
    margin: 22px 0;
}

.about-card-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-block {
    padding: 12px 14px;
    background: var(--bg2);
    border-radius: 10px;
    border: 1px solid var(--card-border);
}

.info-block .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.info-block .value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.info-block .value.green { color: var(--green); }

#services { background: var(--bg); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    max-width: 1160px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s;
    cursor: default;
    box-shadow: var(--shadow);
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--green-light));
    border-radius: 0 0 16px 16px;
    opacity: 0;
    transition: opacity 0.25s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26,156,69,0.18);
}

.service-card:hover::after { opacity: 1; }

.service-card:hover .service-icon {
    background: var(--green);
    color: #fff;
}

.service-icon {
    width: 50px; height: 50px;
    background: var(--green-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--green);
    margin-bottom: 18px;
    transition: all 0.25s;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.service-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.service-num {
    position: absolute;
    top: 22px; right: 22px;
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(0,0,0,0.04);
    line-height: 1;
}

/* ── GALLERY ── */
#gallery { background: var(--bg2); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1160px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--shadow);
    aspect-ratio: 4/3;
    background: var(--bg3);
}

.gallery-item--wide {
    grid-column: span 1 !important;
    aspect-ratio: 4/3 !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    padding: 28px 20px 18px;
    transform: translateY(4px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-tag {
    display: inline-block;
    background: var(--green);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 7px;
}

.gallery-caption {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.open { display: flex; }

.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 24px;
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ── VACANCIES ── */
#vacancies { background: var(--bg); }

.vacancies-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vacancy-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg2);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 18px 24px;
    transition: all 0.22s;
    box-shadow: var(--shadow);
}

.vacancy-item:hover {
    border-color: var(--border);
    background: #fff;
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.vacancy-item:hover .vacancy-arrow { transform: translateX(4px); color: var(--green); }

.vacancy-left { display: flex; align-items: center; gap: 14px; }

.vacancy-icon {
    width: 40px; height: 40px;
    background: var(--green-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.vacancy-title { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.vacancy-dept  { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }

.vacancy-right { display: flex; align-items: center; gap: 12px; }

.vacancy-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(26,156,69,0.08);
    border: 1px solid rgba(26,156,69,0.22);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.3px;
}

.vacancy-badge::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.vacancy-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.22s;
}

footer {
    background: #1a1f2e;
    color: #e2e8f0;
    padding: 72px 10% 36px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 52px;
}

.footer-brand .logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-brand .logo-mark {
    width: 40px; height: 40px;
    background: var(--green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
}

.footer-brand .logo-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.footer-brand p {
    font-size: 0.83rem;
    color: #8896b3;
    line-height: 1.75;
    max-width: 270px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li {
    font-size: 0.83rem;
    color: #8896b3;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.footer-col ul li i {
    color: var(--green);
    font-size: 0.75rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-col ul li a {
    color: #8896b3;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: #4ade80; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p { font-size: 0.78rem; color: #5a6480; }

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 960px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .hero-stats { gap: 24px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item--wide { grid-column: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    section { padding: 64px 6%; }
    .footer-top { grid-template-columns: 1fr; }
    .vacancy-right .vacancy-arrow { display: none; }
    .hero h1 { font-size: 1.9rem; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-item { min-width: 44%; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item--wide { grid-column: span 1; aspect-ratio: 4/3; }
}