/* ========================================
   尧图网络 - 高端品牌建站服务商
   全局样式文件 - 婚纱轻奢风
   配色：香槟金 + 纯白 + 浅紫
   ======================================== */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --champagne: #F5E6D3;
    --champagne-light: #FAF3ED;
    --gold: #DAA520;
    --gold-dark: #B8860B;
    --white: #FFFFFF;
    --light-purple: #E6DCf0;
    --purple-soft: #F0E6F5;
    --text-dark: #4A3728;
    --text-medium: #6B5344;
    --text-light: #8B7355;
    --shadow-soft: 0 4px 20px rgba(139, 115, 85, 0.1);
    --shadow-hover: 0 8px 30px rgba(139, 115, 85, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, var(--champagne-light) 0%, var(--purple-soft) 100%);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========================================
   顶部导航栏 - 轻奢极简悬浮设计
   采用分离式布局：顶部仅 Logo + 右侧菜单按钮
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(218, 165, 32, 0.15);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-dark);
    letter-spacing: 4px;
    text-shadow: 1px 1px 2px rgba(218, 165, 32, 0.2);
}

/* 菜单触发按钮 - 优雅汉堡 */
.menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    border: 2px solid var(--gold);
    transition: var(--transition);
}

.menu-trigger:hover {
    background: var(--gold);
    transform: scale(1.05);
}

.menu-trigger:hover .menu-text {
    color: var(--white);
}

.menu-trigger:hover .hamburger span {
    background: var(--white);
}

.menu-text {
    font-size: 0.95rem;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 2px 0;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--gold-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger span:nth-child(2) {
    width: 18px;
}

.hamburger span:nth-child(3) {
    width: 14px;
}

/* ========================================
   侧边全屏导航面板 - 轻奢展开式
   ======================================== */
.nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 243, 237, 0.95) 100%);
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-panel.active {
    right: 0;
}

.nav-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(74, 55, 40, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-panel-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.nav-panel-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.nav-panel-close:hover {
    background: var(--gold-dark);
    transform: rotate(90deg);
}

.nav-panel-close::before,
.nav-panel-close::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.nav-panel-close::before {
    transform: rotate(45deg);
}

.nav-panel-close::after {
    transform: rotate(-45deg);
}

.nav-panel-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.nav-panel-link {
    display: block;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.nav-panel-link:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.nav-panel-link h3 {
    color: var(--gold-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.nav-panel-link p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 主导航链接（用于页面内小导航） */
.nav-menu {
    display: none;
}

/* ========================================
   响应式导航优化
   ======================================== */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .logo img {
        width: 55px;
        height: 55px;
    }
    
    .logo-text {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .nav-panel-menu {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-panel-link {
        padding: 1.2rem 1.5rem;
    }
}

/* ========================================
   页脚样式
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2C1810 100%);
    color: var(--champagne);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--champagne-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--champagne-light);
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(218, 165, 32, 0.3);
    text-align: center;
    color: var(--champagne-light);
    font-size: 0.9rem;
}

/* ========================================
   首页 Hero Section - 时间轴布局
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--champagne) 0%, var(--light-purple) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.jpg') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 3rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.9s both;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(218, 165, 32, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
}

/* ========================================
   时间轴分段悬浮布局
   ======================================== */
.timeline-section {
    position: relative;
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline-center {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 40px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 40px);
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 24px;
    height: 24px;
    background: var(--gold);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--champagne);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -12px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -12px;
}

.timeline-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.timeline-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.timeline-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.timeline-card h3 {
    color: var(--gold-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.timeline-card p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ========================================
   核心优势板块
   ======================================== */
.advantages-section {
    padding: 5rem 2rem;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.advantage-card {
    background: linear-gradient(135deg, var(--champagne-light) 0%, var(--purple-soft) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.advantage-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.advantage-card h3 {
    color: var(--gold-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* ========================================
   资讯列表区块
   ======================================== */
.news-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--champagne-light) 0%, var(--purple-soft) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    color: var(--gold-dark);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   通用页面头部
   ======================================== */
.page-header {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, var(--champagne) 0%, var(--light-purple) 100%);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   服务详情页
   ======================================== */
.service-detail {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.service-detail-content h1 {
    color: var(--gold-dark);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--champagne);
}

.service-detail-content p {
    color: var(--text-medium);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-detail-content ul {
    margin: 2rem 0;
    padding-left: 2rem;
}

.service-detail-content li {
    color: var(--text-medium);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-detail-content li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ========================================
   关于我们页面
   ======================================== */
.about-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.about-text h2 {
    color: var(--gold-dark);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-medium);
    line-height: 2;
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    color: var(--gold-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--text-light);
}

/* ========================================
   案例展示页面
   ======================================== */
.case-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-info {
    padding: 1.5rem;
}

.case-info h3 {
    color: var(--gold-dark);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.case-info p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.case-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.case-tag {
    background: var(--champagne);
    color: var(--gold-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ========================================
   联系页面
   ======================================== */
.contact-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.contact-info-box h2 {
    color: var(--gold-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--champagne);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-item h3 {
    color: var(--gold-dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-medium);
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--gold-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--champagne);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   新闻列表页面
   ======================================== */
.news-list-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-list-grid {
    display: grid;
    gap: 2rem;
}

.news-list-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.news-list-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.news-list-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-list-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-content h3 {
    color: var(--gold-dark);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.news-list-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   新闻详情页面
   ======================================== */
.news-detail-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.news-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--champagne);
}

.news-detail-title {
    color: var(--gold-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-detail-meta {
    color: var(--text-light);
    font-size: 0.95rem;
}

.news-detail-body {
    color: var(--text-medium);
    line-height: 2;
    font-size: 1.1rem;
}

.news-detail-body img {
    width: 100%;
    border-radius: 15px;
    margin: 2rem 0;
}

.related-news {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--champagne);
}

.related-news h3 {
    color: var(--gold-dark);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .timeline-center {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 18px;
        right: auto;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-list-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem 2rem;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .advantages-grid,
    .news-grid,
    .case-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .timeline-card {
        padding: 1.5rem;
    }
    
    .service-detail-content,
    .news-detail-content,
    .contact-info-box,
    .contact-form {
        padding: 1.5rem;
    }
}
