@charset "utf-8";
/* CSS Document */


      /* 基础样式 */
      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      }
      
      :root {
        --primary-color: #ee7800; /* 主色调：绿色 */
        --primary-dark: #6F493D; /* 深绿色 */
        --primary-light: #ECFDF5; /* 浅绿色背景 */
        --text-dark: #1F2937; /* 深色文本 */
        --text-gray: #6B7280; /* 灰色文本 */
        --white: #FFFFFF; /* 白色 */
        --gray-light: #F3F4F6; /* 浅灰色背景 */
        --border-radius: 0.75rem; /* 12px 圆角 */
        --shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影效果 */
      }
      
      body {
        color: var(--text-dark);
        background-color: var(--white);
        line-height: 1.5;
      }
      
      .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
      }
      
      h1, h2, h3, h4, h5, h6 {
        font-weight: 700;
        margin-bottom: 1rem;
      }
      
      p {
        margin-bottom: 1rem;
      }
      
      a {
        text-decoration: none;
        color: var(--primary-color);
        transition: color 0.3s ease;
      }
      
      a:hover {
        color: var(--primary-dark);
      }
      
      button {
        cursor: pointer;
        border: none;
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
      }
      
      /* 导航栏样式 */
      header {
        background-color: var(--white);
        box-shadow: var(--shadow);
        position: sticky;
        top: 0;
        z-index: 100;
      }
      
      .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
      }
      
      .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.5rem;
        font-weight: bold;
        color: var(--text-dark);
      }
      
      .logo i {
        color: var(--primary-color);
        font-size: 1.8rem;
      }
      
      .nav-links {
        display: flex;
        gap: 2rem;
      }
      
      .nav-links a {
        color: var(--text-dark);
        font-weight: 500;
      }
      
      .nav-links a:hover {
        color: var(--primary-color);
      }
      
      .contact-btn {
        background-color: var(--primary-color);
        color: var(--white);
        padding: 0.5rem 1.2rem;
        font-weight: 500;
      }
      
      .contact-btn:hover {
        background-color: var(--primary-dark);
      }
      
      .menu-btn {
        display: none;
        background: none;
        font-size: 1.5rem;
        color: var(--text-dark);
      }
      
      /* 英雄区域样式 */
      .hero {
        background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
        color: var(--white);
        padding: 4rem 0;
        text-align: left;
      }
      
      .hero-content {
        max-width: 600px;
      }
      
      .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
      }
      
      .hero p {
        font-size: 1.1rem;
        color: var(--primary-light);
        margin-bottom: 2rem;
      }
      
      .hero-buttons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
      }
      
      .primary-btn {
        background-color: var(--white);
        color: var(--primary-dark);
        padding: 0.8rem 1.8rem;
        font-weight: 600;
      }
      
      .secondary-btn {
        background-color: transparent;
        border: 2px solid var(--white);
        color: var(--white);
        padding: 0.8rem 1.8rem;
        font-weight: 600;
      }
      
      /* 产品推荐区域 */
      .products-section {
        padding: 2rem 0;
        background-color: var(--gray-light);
      }
      
      .section-title {
        text-align: center;
        margin-bottom: 3rem;
      }
      
      .section-title h2 {
        font-size: 2rem;
        color: var(--text-dark);
      }
      
      .section-title p {
        color: var(--text-gray);
        max-width: 600px;
        margin: 0 auto;
      }
      
      .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
      }
      
      .product-card {
        background-color: var(--white);
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.3s ease;
      }
      
      .product-card:hover {
        transform: translateY(-5px);
      }
      
      .product-image {
        height: 200px;
        overflow: hidden;
      }
      
      .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
      }
      
      .product-card:hover .product-image img {
        transform: scale(1.05);
      }
      
      .product-content {
        padding: 1.5rem;
      }
      
      .product-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
      }
      
      .product-thai {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-size: 0.9rem;
      }
      
      .product-desc {
        color: var(--text-gray);
        margin-bottom: 1rem;
        font-size: 0.95rem;
      }
      
      .product-link {
        display: inline-flex;
        align-items: center;
        font-weight: 500;
      }
      
      .product-link i {
        margin-left: 0.5rem;
      }
      
      .view-all {
        text-align: center;
      }
      
      /* 交易流程区域 */
      .process-section {
        padding: 4rem 0;
        background-color: var(--white);
      }
      
      .process-steps {
        display: flex;
        justify-content: space-between;
        position: relative;
        margin-top: 3rem;
      }
      
      .process-steps::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--primary-light);
        transform: translateY(-50%);
        z-index: 1;
      }
      
      .step {
        flex: 1;
        text-align: center;
        position: relative;
        z-index: 2;
      }
      
      .step-number {
        width: 40px;
        height: 40px;
        background-color: var(--primary-color);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        margin: 0 auto 1rem;
      }
      
      .step-title {
        font-weight: 600;
        margin-bottom: 0.5rem;
      }
      
      .step-desc {
        color: var(--text-gray);
        font-size: 0.9rem;
      }
      
      /* 公司简介区域 */
      .about-section {
        padding: 4rem 0;
        background-color: var(--gray-light);
      }
      
      .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
      }
      
      .about-text h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
      }
      
      .about-text p {
        color: var(--text-gray);
        margin-bottom: 1.5rem;
        line-height: 1.6;
      }
      
      .about-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
      }
      
      .feature-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
      
      .feature-item i {
        color: var(--primary-color);
        font-size: 1.2rem;
      }
      
      .about-image img {
        width: 100%;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
      }
      
      /* 联系区域 */
      .contact-section {
        padding: 4rem 0;
        background-color: var(--primary-color);
        color: var(--white);
        text-align: center;
      }
      
      .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
      }
      
      .contact-section p {
        color: var(--primary-light);
        max-width: 600px;
        margin: 0 auto 2rem;
      }
      
      .contact-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
      }
         input, select, textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: var(--border-radius);
        font-family: inherit;
        font-size: 1rem;
        transition: all 0.3s ease;
      }
      
      input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px var(--primary-light);
      }
      
      label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
      }
      
     
      
     
    
   
      
      
      /* 页面头部样式 */
      .page-header {
        background-color: var(--gray-light);
        padding: 2.5rem 0;
        margin-bottom: 3rem;
      }
      
      .page-header h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
      }
      
      .page-header p {
        color: var(--text-gray);
      }
      
      /* 联系页面样式 */
      .contact-container {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 2rem;
        margin-bottom: 4rem;
      }
      
      /* 联系信息 */
      .contact-info {
        background-color: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        padding: 2rem;
        height: fit-content;
        position: sticky;
        top: 80px;
      }
      
      .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
      }
      
      .info-section {
        margin-bottom: 2rem;
      }
      
      .info-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
      }
      
      .info-item {
        display: flex;
        margin-bottom: 1rem;
      }
      
      .info-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--primary-light);
        color: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        flex-shrink: 0;
      }
      
      .info-content {
        flex-grow: 1;
      }
      
      .info-content p {
        margin-bottom: 0;
      }
      
      .social-links {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
      }
      
      .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--gray-light);
        color: var(--text-gray);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
      }
      
      .social-link:hover {
        background-color: var(--primary-color);
        color: var(--white);
      }
      
      .wechat-qr {
        background-color: var(--gray-light);
        padding: 1rem;
        border-radius: var(--border-radius);
        text-align: center;
        margin-top: 1rem;
      }
      
      .qr-code {
        width: 150px;
        height: 150px;
        background-color: white;
        padding: 0.5rem;
        margin: 0 auto 1rem;
        border-radius: 0.5rem;
      }
      
      .qr-code img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      .wechat-qr p {
        font-weight: 500;
        margin-bottom: 0.3rem;
      }
      
      .wechat-qr small {
        color: var(--text-gray);
        font-size: 0.8rem;
      }
      
      /* 联系表单 */
      .contact-form-container {
        background-color: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow);
        padding: 2rem;
      }
      
      .contact-form-container h2 {
        margin-bottom: 0.5rem;
      }
      
      .form-intro {
        color: var(--text-gray);
        margin-bottom: 2rem;
      }
      
      .contact-form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
      }
      
      .form-group {
        margin-bottom: 0;
      }
      
      .form-group.full-width {
        grid-column: 1 / -1;
      }
      
      .form-hint {
        font-size: 0.8rem;
        color: var(--text-gray);
        margin-top: 0.3rem;
      }
      
      .form-actions {
        grid-column: 1 / -1;
        margin-top: 1rem;
      }
      
      .submit-btn {
        width: 100%;
        background-color: var(--primary-color);
        color: var(--white);
        padding: 1rem;
        font-weight: 600;
        font-size: 1rem;
      }
      
      .submit-btn:hover {
        background-color: var(--primary-dark);
      }
      
      .submit-btn:disabled {
        background-color: var(--text-gray);
        cursor: not-allowed;
      }
      
      .form-note {
        text-align: center;
        color: var(--text-gray);
        font-size: 0.9rem;
        margin-top: 1rem;
      }
      
      /* 表单验证错误 */
      .error-message {
        color: var(--danger-color);
        font-size: 0.8rem;
        margin-top: 0.3rem;
        display: none;
      }
      
      .form-group.error input,
      .form-group.error select,
      .form-group.error textarea {
        border-color: var(--danger-color);
      }
      
      .form-group.error .error-message {display: block;
      }
      
      /* 地图区域 */
      .map-section {
        background-color: var(--gray-light);
        border-radius: var(--border-radius);
        padding: 2rem;
        margin-top: 2rem;
      }
      
      .map-section h2 {
        text-align: center;
        margin-bottom: 1.5rem;
      }
      
      .map-container {
        height: 300px;
        background-color: #ddd;
        border-radius: var(--border-radius);
        overflow: hidden;
        position: relative;
      }
      
      .map-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      
      .map-marker {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -100%);
        background-color: var(--primary-color);
        color: var(--white);
        padding: 0.5rem 1rem;
        border-radius: var(--border-radius);
        display: flex;
        align-items: center;
        font-weight: 500;
      }
      
      .map-marker i {
        margin-right: 0.5rem;
      }
      
      
      /* 页脚样式 */
      footer {
        background-color: #1F2937;
        color: var(--white);
        padding: 4rem 0 2rem;
      }
      
      .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;
      }
      
      .footer-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 1rem;
      }
      
      .footer-logo i {
        color: var(--primary-color);
      }
      
      .footer-desc {
        color: #9CA3AF;
        font-size: 0.9rem;
        margin-bottom: 1rem;
      }
      
      .social-links {
        display: flex;
        gap: 1rem;
      }
      
      .social-links a {
        color: #9CA3AF;
        font-size: 1.2rem;
      }
      
      .social-links a:hover {
        color: var(--primary-color);
      }
      
      .footer-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1rem;
      }
      
      .footer-links {
        list-style: none;
      }
      
      .footer-links li {
        margin-bottom: 0.8rem;
      }
      
      .footer-links a {
        color: #9CA3AF;
        font-size: 0.9rem;
      }
      
      .footer-links a:hover {
        color: var(--primary-color);
      }
      
      .footer-bottom {
        text-align: center;
        padding-top: 2rem;
        border-top: 1px solid #374151;
        color: #9CA3AF;
        font-size: 0.8rem;
      }
      
      /* 响应式样式 */
      @media (max-width: 768px) {
        /* 导航栏响应式 */
        .nav-links {
          display: none;
        }
        
        .contact-btn {
          display: none;
        }
        
        .menu-btn {
          display: block;
        }
        
        /* 英雄区域响应式 */
        .hero h1 {
          font-size: 2rem;
        }
        
        /* 交易流程响应式 */
        .process-steps {
          flex-direction: column;
          gap: 2rem;
        }
        
        .process-steps::before {
          width: 2px;
          height: 100%;
          top: 0;
          left: 50%;
          transform: translateX(-50%);
        }
        
        /* 公司简介响应式 */
        .about-content {
          grid-template-columns: 1fr;
        }
        
        .about-image {
          order: -1;
        }
        /* 联系页面响应式 */
        .contact-container {
          grid-template-columns: 1fr;
        }
        
        /* 联系表单响应式 */
        .contact-form {
          grid-template-columns: 1fr;
        }
      }
      
      /* JavaScript相关样式 */
      .hidden {
        display: none;
      }
      
      /* 加载中状态 */
      .loading {
        display: inline-block;
        width: 20px;
        height: 20px;
        border: 3px solid rgba(255,255,255,.3);
        border-radius: 50%;
        border-top-color: white;
        animation: spin 1s ease-in-out infinite;
        margin-right: 0.5rem;
      }
      
      @keyframes spin {
        to { transform: rotate(360deg); }
      }
/* === 📱 手机端强制适配补丁 (Mobile Fix Patch) === */
@media (max-width: 768px) {
    /* 1. 强制所有老旧容器宽度改为 100% */
    .mainbox, 
    .aboutcon, 
    .section_about, 
    .containers, 
    .main_con {
        width: 100% !important;
        min-width: 0 !important; /* 防止某些元素有最小宽度 */
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* 2. 防止图片撑破屏幕 */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* 3. 修复字体过大的标题 */
    h1, h2, h3 {
        word-wrap: break-word; /* 防止长单词撑开 */
    }
    
    /* 4. 针对这一页特定的标题微调 */
    h1 span, h3 span {
        font-size: 1.5rem !important; /* 强制把那个巨大的标题缩小 */
    }
}
