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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
    color: #2d3748;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-logo {
    width: 40px;
    height: 40px;
}

.topbar-name {
    display: flex;
    flex-direction: column;
    font-size: 1.15rem;
    font-weight: 700;
    color: #48556d;
    line-height: 1.3;
}

.topbar-center {
    display: flex;
    align-items: center;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(72, 85, 109, 0.08);
    border: 1px solid rgba(72, 85, 109, 0.2);
    border-radius: 20px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 400;
    color: #48556d;
    letter-spacing: 1px;
    user-select: none;
    transition: all 0.2s ease;
}

.lang-switcher:hover {
    background: rgba(72, 85, 109, 0.15);
}

.lang-switcher .divider {
    margin: 0 5px;
    color: #a0aec0;
}

.lang-switcher .en-label,
.lang-switcher .zh-label {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

body.zh-active .lang-switcher .zh-label {
    opacity: 1;
    font-weight: 700;
}

body.en-active .lang-switcher .en-label {
    opacity: 1;
    font-weight: 700;
}

body.en-active .lang-switcher .ru-label {
    opacity: 0.5;
}

body.en-active .lang-switcher .zh-label {
    opacity: 0.5;
}

body.zh-active .lang-switcher .ru-label {
    opacity: 0.5;
}

body.zh-active .lang-switcher .en-label {
    opacity: 0.5;
}

.lang-switcher .ru-label {
    font-weight: 700;
}

body.en-active .lang-switcher .ru-label {
    font-weight: 400;
}

body.zh-active .lang-switcher .ru-label {
    font-weight: 400;
}

.topbar-contact {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 4px;
}

.topbar-contact-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.topbar-contact-wrap img {
    max-width: 162px;
    width: auto;
    height: auto;
    display: block;
    fill: currentColor;
    color: #48556d;
}

.contact-value img {
    max-width: 250px;
    width: auto;
    height: auto;
    display: block;
    fill: currentColor;
    color: #2d3748;
    margin-bottom: 2px;
}



/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(160deg, #f8f9fa 0%, #edf2f7 50%, #e2e8f0 100%);
    position: relative;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72, 85, 109, 0.06) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72, 85, 109, 0.04) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.03); }
}

.hero-center {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-tagline {
    font-size: 2.2rem;
    font-weight: 300;
    color: #4a5568;
    letter-spacing: 1px;
    margin-top: -20px;
    line-height: 1.4;
}

.hero-tagline strong {
    font-weight: 700;
    color: #2d3748;
}

.hero-sub {
    font-size: 1rem;
    color: #718096;
    margin-top: 10px;
    font-style: italic;
}

.hero-divider {
    width: 50px;
    height: 2px;
    background: #a0aec0;
    margin: 35px auto 0;
}

.hero-project {
    margin-top: 35px;
    padding: 22px 0;
    border-top: 1px solid rgba(160, 174, 192, 0.3);
    border-bottom: 1px solid rgba(160, 174, 192, 0.3);
    display: inline-block;
}

.project-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #718096;
    background: rgba(72, 85, 109, 0.08);
    border: 1px solid rgba(72, 85, 109, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.project-desc {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.7;
    max-width: 520px;
}

.project-plans {
    font-size: 1.1rem;
    font-weight: 600;
    color: #48556d;
    margin-top: 8px;
    line-height: 1.6;
    max-width: 520px;
}

.project-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #48556d;
    letter-spacing: -1px;
}

.project-date {
    font-size: 0.85rem;
    color: #718096;
    letter-spacing: 1px;
    margin-top: 4px;
}

.scroll-hint {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-hint svg {
    width: 22px;
    height: 22px;
    color: #a0aec0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* About */
.about {
    padding: 70px 0;
    background: #fff;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
    position: relative;
    padding-left: 22px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 65%;
    background: #48556d;
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.about-card {
    padding: 26px;
    background: #f7fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.card-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    color: #48556d;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}

.card-text {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.65;
}

.card-text ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.card-text li {
    margin-bottom: 2px;
}

/* Contact */
.contact {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.7fr 0.7fr 1.6fr;
    gap: 20px;
}

.contact-item {
    text-align: center;
}

.contact-item:first-child {
    text-align: left;
}

.contact-item:nth-child(2) .contact-label {
    transform: translateX(-20px);
}

.contact-item:last-child {
    text-align: left;
}

.contact-item > svg {
    width: 20px;
    height: 20px;
    color: #48556d;
    margin: 0 auto;
    display: block;
}

.contact-label {
    font-size: 0.8rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

.contact-value {
    font-size: 0.95rem;
    color: #2d3748;
    margin-top: 2px;
}

/* Footer */
.footer {
    padding: 20px 0;
    background: #edf2f7;
    text-align: center;
    color: #a0aec0;
    font-size: 0.8rem;
}

/* Language toggle classes */
.lang-en,
.lang-zh {
    display: none;
}

body.en-active .lang-ru {
    display: none;
}

body.en-active .lang-en {
    display: inline;
}

body.en-active div.lang-en,
body.en-active span.lang-en,
body.en-active p.lang-en,
body.en-active li.lang-en,
body.en-active h2.lang-en,
body.en-active strong.lang-en {
    display: inline;
}

body.zh-active .lang-ru,
body.zh-active .lang-en {
    display: none;
}

body.zh-active .lang-zh {
    display: inline;
}

body.zh-active div.lang-zh,
body.zh-active span.lang-zh,
body.zh-active p.lang-zh,
body.zh-active li.lang-zh,
body.zh-active h2.lang-zh,
body.zh-active strong.lang-zh {
    display: inline;
}

body.lang-ru div.lang-ru,
body.lang-ru span.lang-ru,
body.lang-ru p.lang-ru,
body.lang-ru li.lang-ru,
body.lang-ru h2.lang-ru,
body.lang-ru strong.lang-ru {
    display: inline;
}

.address-text {
    font-size: 0.95rem;
    font-weight: bold;
    font-style: italic;
    line-height: 1.7;
    color: #4a5568;
}

/* Responsive */
@media (max-width: 768px) {
    .topbar { padding: 14px 16px; }
    .topbar-name { font-size: 0.8rem; }
    .topbar-phone { font-size: 0.75rem; }
    .topbar-logo { width: 30px; height: 30px; }
    .hero-tagline { font-size: 1.5rem; }
    .project-amount { font-size: 2rem; }
    .project-desc { font-size: 0.85rem; }
    .hero { padding-top: 60px; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .lang-switcher { font-size: 0.65rem; padding: 3px 6px; }
}