/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a365d;
    --primary-light: #2d5a87;
    --primary-dark: #0f1f3d;
    --accent: #2d8b5a;
    --accent-light: #3da870;
    --text: #1a202c;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #ffffff;
    --bg-gray: #f7fafc;
    --bg-dark: #0f1f3d;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-full {
    width: 100%;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-en {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    transition: var(--transition);
}

.logo-divider {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.logo-cn {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    transition: var(--transition);
}

.header.scrolled .logo-en {
    color: #1a365d;
}

.header.scrolled .logo-divider {
    background: rgba(26, 54, 93, 0.3);
}

.header.scrolled .logo-cn {
    color: #1a365d;
}

.header.scrolled .logo-img {
    filter: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.header.scrolled .nav-link {
    color: var(--text-light);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--primary);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    padding: 12px 16px;
    color: var(--text);
    border-radius: 6px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

/* Hero首屏 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 31, 61, 0.8) 0%, rgba(26, 54, 93, 0.7) 50%, rgba(45, 90, 135, 0.75) 100%);
    z-index: 1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 31, 61, 0.7) 0%, rgba(15, 31, 61, 0.5) 100%);
    z-index: 2;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* 核心业务 */
.services {
    background: var(--bg-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 12px 12px 0 0;
    margin: -40px -30px 25px -30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    scroll-margin-top: 90px;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-list {
    margin-bottom: 24px;
}

.service-list li {
    font-size: 14px;
    color: var(--text-light);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.service-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-light);
}

/* 核心数据 */
.stats {
    background: var(--bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-light);
    display: inline-block;
}

.stat-unit {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-light);
    display: inline-block;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

/* 项目案例 */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--text-light);
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-card.hide {
    display: none;
}

.project-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-img-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 20px;
    font-weight: 700;
}

.project-content {
    padding: 24px;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(45, 139, 90, 0.1);
    color: var(--accent);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.project-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.project-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
}

/* 合作模式 */
.cooperation {
    background: var(--bg-gray);
}

.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.coop-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.coop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.coop-card.featured {
    border: 2px solid var(--accent);
}

.coop-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.coop-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.coop-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-align: center;
}

.coop-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.8;
}

.coop-list li {
    font-size: 14px;
    color: var(--text-light);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.coop-list li:last-child {
    border-bottom: none;
}

.coop-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* 技术实力 */
.tech-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.tech-item:last-child {
    margin-bottom: 0;
}

.tech-item.reverse .tech-content {
    order: 2;
}

.tech-item.reverse .tech-visual {
    order: 1;
}

.tech-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.tech-desc {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.tech-list li {
    font-size: 15px;
    color: var(--text);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.tech-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.tech-visual {
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.tech-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 31, 61, 0.2) 0%, rgba(45, 139, 90, 0.15) 100%);
}

.tech-visual-inner {
    color: rgba(255, 255, 255, 0.4);
    font-size: 24px;
    font-weight: 700;
}

/* 关于我们 */
.about {
    background: var(--bg-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.about-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 20px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.about-card {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-card-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.about-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.about-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* 企业资质 */
.qualifications {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.qual-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

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

.qual-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.qual-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.qual-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.qual-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.qual-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 新闻动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    display: flex;
    gap: 24px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-date {
    flex-shrink: 0;
    width: 70px;
    text-align: center;
    border-right: 2px solid var(--border);
    padding-right: 20px;
}

.news-day {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.news-content {
    flex: 1;
}

.news-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(26, 54, 93, 0.1);
    color: var(--primary);
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.news-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
}

.news-more {
    text-align: center;
}

/* 联系我们 */
.contact {
    background: var(--bg-dark);
    color: #fff;
}

.contact .section-title {
    color: #fff;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-center {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form-wrap h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 页脚 */
.footer {
    background: #0a1529;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* Toast */
.toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    font-size: 14px;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--accent);
}

.toast.error {
    background: #e53e3e;
}

/* 响应式 */
@media (max-width: 1024px) {
    .services-grid,
    .projects-grid,
    .cooperation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .tech-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-item.reverse .tech-content {
        order: 1;
    }
    
    .tech-item.reverse .tech-visual {
        order: 2;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }
    
    .services-grid,
    .projects-grid,
    .cooperation-grid,
    .qual-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-unit {
        font-size: 18px;
    }
    
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .news-date {
        border-right: none;
        border-bottom: 2px solid var(--border);
        padding-right: 0;
        padding-bottom: 12px;
        width: auto;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hero-dots {
        right: 50%;
        top: auto;
        bottom: 30px;
        transform: translateX(50%);
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
