/* @import "../common/common.css"; */
/* ========== 首页 Hero 区域 ========== */




.hero-actions .btn {
    min-width: 140px;
    padding: 0.625rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border: none;
    color: #fff;
}

.hero-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

.hero-actions .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-actions .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* ========== 首页 Features 区域 ========== */
.home-features {
    padding: 3rem 0;
    background: #f8f9fa;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.feature-card p {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}


/* ========== 案例卡片样式 - ========== */
.case-card {
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-4px);
}

.case-card-arrow {
    transition: all 0.3s ease;
}

.case-card .bg-primary-50 {
    background-color: rgba(2, 132, 199, 0.08);
}

.case-card .text-primary-600 {
    color: #0284c7;
}

.case-card .group-hover\:text-primary-600:hover {
    color: #0284c7;
}


/* ========== Hero 区域 ========== */
.home-hero {
    position: relative;
    min-height:calc(100vh - 92px) ;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #023d2e 0%, #003828 50%, #002f22 100%);
}

.home-hero .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.home-hero .video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 61, 46, 0.6), rgba(0, 56, 40, 0.45) 50%, rgba(0, 45, 38, 0.35)), linear-gradient(0deg, rgba(0, 30, 26, 0.6), transparent 50%, rgba(0, 25, 22, 0.4));
}

.home-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
}

/* 滚动按钮包装容器 - 绝对定位不参与 flex 布局 */
.home-hero > div:last-child {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 3;
}

.home-hero > div:last-child .citrus-hero__scroll {
    pointer-events: auto;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    /* margin: 0 auto; */
    padding: 2rem 1rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom:0 0 1.5rem;
    
    line-height: 1.2;
    color: #fff;
}

.hero-title-green{
    color: var(--rm-color-brand-300);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: left;
    align-items: left;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
    background: var(--rm-color-brand-400);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-hero-primary:hover {
    background: var(--rm-color-brand-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
    color: #fff;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

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

/* ========== 统计数字区域 ========== */
.stats-section {
    background: var(--rm-color-brand-50);
    padding: 7rem 0;
    color: #1a1a2e;
}

.stats-header {
    margin-bottom: 2.5rem;
}

.stats-title {
    font-size:2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.stats-desc {
    font-size: 0.95rem;
    color: #666;
    max-width: 100%;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 0.75rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef1f4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 0.75rem;
    border-radius: 20%;
    background: rgba(233, 69, 96, 0.1);
    color: var(--citrus-primary);
    flex-shrink: 0;
    background: hsl(145 65% 32% / 0.1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    line-height: 1.35;
}


@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-card {
        padding: 1.75rem 1rem;
    }
}

/* ========== 解决方案区域 ========== */
.solutions-section {
    background: #fff;
    padding: 7rem 0;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}


.section-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.solution-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.solution-item:hover {
    background: #e94560;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.solution-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a2e;
    text-align: center;
}

.solution-item:hover .solution-name {
    color: #fff;
}

/* ========== Pillar 卡片 ========== */
.home-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.home-pillar {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef1f4;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: #dce0e4;
}

.home-pillar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.home-pillar__icon .citrus-icon {
    width: 28px;
    height: 28px;
}

.home-pillar--emerald .home-pillar__icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.home-pillar--blue .home-pillar__icon {
    background: #e3f2fd;
    color: #1565c0;
}

.home-pillar--violet .home-pillar__icon {
    background: #f3e5f5;
    color: #7b1fa2;
}

.home-pillar__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.home-pillar__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.home-pillar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rm-color-brand-500);
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.home-pillar__link:hover {
    gap: 0.75rem;
    color: var(--rm-color-brand-700);
}

.home-pillar__link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.home-pillar__link:hover svg {
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .home-pillars {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .home-pillars {
        grid-template-columns: 1fr;
    }
}

/* ========== 案例区域 ========== */
.cases-section {
    background: #f8f9fa;
    padding: 7rem 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ========== 新闻区域 ========== */
.news-section {
    background: #eef6f3;
    padding: 7rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.news-card {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-date {
    font-size: 0.85rem;
    color: #e94560;
    font-weight: 500;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0.75rem 0;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========== 技术优势区域 ========== */
.tech-section {
    background: #eef6f3;
    padding: 7rem 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== 技术卡片样式 ========== */
.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    background: #fff;
    border-radius: 12px;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.tech-icon-wrap {
    width: 100%;
    margin-bottom: 0;
    flex-shrink: 0;
}

.tech-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
}

.tech-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.tech-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    text-align: left;
    width: 100%;
    max-width: 280px;
}

.tech-features li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.tech-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    background: #e94560;
    border-radius: 50%;
}

.tech-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: hsl(145 65% 32%);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.tech-link:hover {
    color: hsl(145 65% 25%);
    gap: 0.75rem;
}

.tech-link-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.tech-link:hover .tech-link-arrow {
    transform: translateX(4px);
}

/* ========== 按钮样式 ========== */
.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e94560;
    border-radius: 50px;
    color: #e94560;
    background: transparent;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #e94560;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

/* ========== 响应式 ========== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
     [lang="es"]  .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

     [lang="es"]  .hero-title {
        font-size: 2rem;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

/* Case Card 样式 */
.case-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--citrus-border);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.case-card .relative {
    transition: all 0.3s ease;
}

.case-card:hover .relative {
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
    transform: scale(1.04);
}

.case-card-arrow {
    transition: all 0.3s ease;
}

.case-card h3 {
    transition: color 0.3s ease;
}

.case-card:hover h3 {
    color: #0284c7 !important;
}

.bg-light {
    background-color: #f8f9fa;
}

.citrus-hero__scroll {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    border: 0;
    background: none;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    animation: citrus-bounce 1.5s ease-in-out infinite;
}

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

/* ========== 水果卡片样式 ========== */
.fruit-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eef1f4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    height: 100%;
}

.fruit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
    border-color: #dce0e4;
}

.fruit-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f6f7;
    flex-shrink: 0;
}

.fruit-card-image img {
    transition: transform 0.5s ease;
}

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

.fruit-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    gap: 0.25rem;
    flex-grow: 1;
}

.fruit-card-name-zh {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
}

.fruit-card-name-en {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
    line-height: 1.3;
    text-transform: capitalize;
}

/* ========== 果品区域 ========== */
.fruits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .fruits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .fruits-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.title-tag{
    display: inline-block;
    background: var(--rm-color-brand-50);
    color: var(--rm-color-brand-600);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 1.25rem;
    border-radius: 9999px;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}
.news-title{
    color: var(--citrus-fg);
}
.news-text{
    color: var(--citrus-muted-fg);
}

.tech-desc{
    padding: 0 25%;
    text-align: center;
}

/* ========== 联系我们模块样式 ========== */
.contact-section {
    padding:7rem 0;
    background: #fff;
}

.contact-form-wrapper {
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.contact-form .form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: hsl(145 65% 32%);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 50, 0.1);
}

.contact-submit {
    padding: 14px 40px;
    background: hsl(145 65% 32%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 8px auto 0;
}

.contact-submit:hover {
    background: hsl(145 65% 25%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 50, 0.3);
}

@media (max-width: 575px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-title {
        font-size: 2rem;
    }
}


.home-tech-card {
    position: relative;
    z-index: 0;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    border-radius: 1.25rem;
    background: var(--citrus-card, #fff);
    border: 1px solid var(--citrus-border);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
    transform-origin: center;
}


.home-tech-card:hover {
    z-index: 1;
    transform: scale(1.05);
    border-color: rgba(0, 133, 111, 0.35);
    box-shadow: 0 16px 40px rgba(0, 133, 111, 0.14);
}

.home-tech-card:hover .home-tech-card__icon {
    transform: scale(1.04);
    background: rgba(0, 133, 111, 0.12);
}
.home-tech-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(0, 133, 111, 0.08);
    transition: transform 0.3s ease, background 0.3s ease;
}

.home-tech-card__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--citrus-fg);
}


.home-tech-card__desc {
    flex: 1;
    margin: 0 0 1rem;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--citrus-muted-fg);
}

.home-tech-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--home-brand);
    text-decoration: none;
}

@media (min-width: 768px) {
    .home-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .home-tech-grid {
        grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    }
}

.home-tech-grid {
    display: grid;
    gap: 1.5rem;
    padding: 0.35rem 0;
}