/* 手机端紧凑优化样式 */

/* 整体紧凑布局 */
@media (max-width: 576px) {
    /* 减少所有垂直间距 */
    body {
        font-size: 14px;
    }
    
    /* 容器紧凑 */
    .container {
        padding: 0 12px;
    }
    
    /* 所有section间距减小 */
    section {
        padding: 35px 0;
    }
    
    section:first-of-type {
        padding-top: 25px;
    }
    
    /* 标题紧凑 */
    .section-header {
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .title-underline {
        width: 50px;
        height: 3px;
        margin: 0 auto;
    }
    
    /* 导航栏紧凑 */
    .navbar {
        height: 60px;
    }
    
    .nav-wrapper {
        padding: 10px 0;
    }
    
    .logo a {
        font-size: 17px;
        gap: 8px;
    }
    
    .logo i {
        font-size: 19px;
    }
    
    /* 理念区块紧凑 */
    .philosophy {
        padding: 35px 0;
    }
    
    .philosophy-image {
        max-height: 180px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .philosophy-content {
        gap: 15px;
    }
    
    .philosophy-card {
        padding: 22px 15px;
        border-radius: 12px;
    }
    
    .philosophy-card-image {
        height: 140px;
        border-radius: 10px;
        margin-bottom: 12px;
    }
    
    .philosophy-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    .philosophy-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .philosophy-card p {
        font-size: 13px;
        line-height: 1.65;
    }
    
    .philosophy-plus {
        font-size: 22px;
        margin: 12px 0;
    }
    
    /* 愿景区域紧凑 */
    .vision-section {
        padding: 35px 0;
    }
    
    .vision-wrapper {
        gap: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .vision-content {
        width: 100%;
        margin-bottom: 15px;
        padding: 0;
        overflow: visible;
    }
    
    .vision-content h2 {
        font-size: 22px;
        margin-bottom: 12px;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .vision-content p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-eyebrow {
        font-size: 11px;
        margin-bottom: 8px;
        letter-spacing: 0.2em;
    }
    
    .vision-actions {
        gap: 10px;
    }
    
    .vision-card {
        padding: 16px 14px;
        border-radius: 12px;
    }
    
    .vision-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    
    .vision-card p {
        font-size: 12px;
        line-height: 1.6;
    }
    
    /* 光能同行区域紧凑 */
    .campaign-section {
        padding: 35px 0;
    }
    
    .campaign-wrapper {
        gap: 20px;
    }
    
    .campaign-text h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .campaign-text p {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 10px;
    }
    
    .cta-card {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .cta-card span {
        font-size: 10px;
    }
    
    .cta-card strong {
        font-size: 24px;
        margin: 10px 0 18px;
    }
    
    /* 行动方向紧凑 */
    .directions {
        padding: 35px 0;
    }
    
    .directions-grid {
        gap: 15px;
    }
    
    .direction-card {
        padding: 22px 15px;
        border-radius: 12px;
    }
    
    .direction-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .direction-card h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .direction-card p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    /* 专案卡片紧凑 */
    .projects {
        padding: 35px 0;
    }
    
    .projects-grid,
    .news-grid,
    .testimonials-grid {
        gap: 18px;
    }
    
    .project-card,
    .news-card,
    .testimonial-card {
        border-radius: 12px;
    }
    
    .project-image,
    .news-image {
        height: 160px;
        border-radius: 12px 12px 0 0;
    }
    
    .card-body {
        padding: 18px 15px;
    }
    
    .card-title {
        font-size: 17px;
        margin-bottom: 8px;
    }
    
    .card-text {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 12px;
    }
    
    .card-meta {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    /* 见证卡片紧凑 */
    .testimonial-card {
        padding: 22px 15px;
    }
    
    .testimonial-text {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    
    .testimonial-author {
        font-size: 14px;
    }
    
    .testimonial-role {
        font-size: 12px;
    }
    
    /* 影响力区块紧凑 */
    .impact {
        padding: 35px 0;
    }
    
    .impact-grid {
        gap: 15px;
    }
    
    .impact-item {
        padding: 22px 12px;
        border-radius: 12px;
    }
    
    .impact-icon {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .impact-number {
        font-size: 30px;
        margin-bottom: 6px;
    }
    
    .impact-label {
        font-size: 12px;
    }
    
    /* 按钮紧凑 */
    .btn {
        padding: 9px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
    
    .btn i {
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 11px 26px;
        font-size: 14px;
    }
    
    .btn-outline {
        padding: 10px 24px;
    }
    
    /* 联系表单紧凑 */
    .contact {
        padding: 35px 0;
    }
    
    .form-group {
        margin-bottom: 14px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-control {
        padding: 11px 14px;
        font-size: 13px;
        border-radius: 8px;
    }
    
    textarea.form-control {
        min-height: 100px;
    }
    
    /* 页脚2x2布局 - 移动端两列并排 */
    .footer {
        padding: 35px 0 18px;
    }
    
    .footer .container {
        padding: 0 15px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 两列并排 */
        gap: 25px 20px;
        margin-bottom: 20px;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 0;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 20px; /* 统一标题字体 */
        margin-bottom: 10px;
        line-height: 1.25;
        font-weight: 700;
        letter-spacing: 0.3px;
    }
    
    .footer-section p,
    .footer-section a,
    .footer-section li,
    .footer-section ul li a,
    .footer-motto {
        font-size: 14px; /* 统一正文字体 */
        line-height: 1.6;
        text-align: center;
    }
    
    .footer-section ul li {
        margin-bottom: 6px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .social-links {
        gap: 12px;
        margin-top: 12px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 15px;
    }
    
    .footer-bottom {
        padding-top: 15px;
        margin-top: 5px;
    }
    
    .footer-bottom p {
        font-size: 13px;
        line-height: 1.5;
        text-align: center;
    }
    
    /* 回到顶部按钮紧凑 */
    .back-to-top {
        width: 42px;
        height: 42px;
        font-size: 18px;
        bottom: 18px;
        right: 18px;
    }
}

/* 超小屏幕进一步紧凑 */
@media (max-width: 375px) {
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    /* 愿景区域超小屏优化 */
    .vision-content {
        width: 100%;
        padding: 0;
        margin-bottom: 12px;
    }
    
    .vision-content h2 {
        font-size: 20px;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .vision-content p {
        font-size: 12px;
        line-height: 1.65;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .section-eyebrow {
        font-size: 10px;
    }
    
    .vision-card {
        padding: 14px 12px;
    }
    
    .vision-card h3 {
        font-size: 15px;
    }
    
    .vision-card p {
        font-size: 11px;
    }
    
    .philosophy-card,
    .direction-card,
    .card-body,
    .testimonial-card,
    .impact-item {
        padding: 18px 12px;
    }
    
    .btn {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .btn-lg {
        padding: 10px 22px;
        font-size: 13px;
    }
}


