/* Hallmark · focused component restoration · modern-minimal · existing agricultural green · P5 H5 E5 S5 R5 V5 */
/* Home page — generated by the conservative CSS/JS modular refactor. */

.hero-categories {display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    margin-left: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);}

.hcat-card {position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;}

.hcat-card:hover {transform: scale(1.03); z-index: 2;}

.hcat-img-wrap {flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8f2;
    overflow: hidden;
    position: relative;}

.hcat-img-wrap img {width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;}

.hcat-card:hover .hcat-img-wrap img {transform: scale(1.08);}

.hcat-img-fallback {display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.2rem;
    color: var(--green-main);
    background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 100%);}

.hcat-label {display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: var(--white);
    border-top: 2px solid var(--green-pale);
    transition: background 0.3s ease, border-color 0.3s ease;}

.hcat-card:hover .hcat-label {background: var(--green-main);
    border-color: var(--green-main);}

.hcat-title {font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;}

.hcat-card:hover .hcat-title {color: var(--white);}

.hcat-arrow {width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-main);
    font-size: 0.65rem;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;}

.hcat-card:hover .hcat-arrow {background: rgba(255,255,255,0.25); color: var(--white);}

.hcat-card--more {background: var(--green-dark);
    align-items: stretch;
    justify-content: stretch;
    position: relative;}

.hcat-card--more:hover {background: #1f5a26;}

.hcat-more-inner {display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 16px 18px;
    gap: 8px;}

.hcat-more-text {display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;}

.hcat-more-subtitle {font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;}

.hcat-more-title {font-family: var(--font-head);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    line-height: 1;}

.hcat-more-arrow {width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
    align-self: flex-end;}

.hcat-card--more:hover .hcat-more-arrow {background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.9);
    transform: translateX(3px);}

@media (min-width: 1440px) {
.hero-content {max-width: 1560px;
        gap: 72px;
        padding: 92px 80px 72px;}

.hero-left {max-width: 680px;}

.hero-badge {padding: 7px 18px;
        font-size: 0.92rem;
        margin-bottom: 28px;}

.hero-title {font-size: 4rem;
        margin-bottom: 24px;}

.hero-desc {max-width: 620px;
        font-size: 1.18rem;
        margin-bottom: 40px;}

.hero-btns {gap: 18px;}

.hero-btns .btn {padding: 15px 34px;
        font-size: 1.05rem;}

.hero-categories {width: 440px;
        height: 440px;
        margin-left: 40px;}

.hcat-title {font-size: 0.94rem;}

.hcat-more-subtitle {font-size: 1.35rem;}

.hcat-more-title {font-size: 2.15rem;}
}

@media (min-width: 1920px) {
.hero-content {max-width: 1680px;
        gap: 90px;
        padding: 108px 90px 86px;}

.hero-left {max-width: 760px;}

.hero-badge {padding: 8px 20px;
        font-size: 1rem;
        margin-bottom: 32px;}

.hero-title {font-size: 4.6rem;
        margin-bottom: 28px;}

.hero-desc {max-width: 700px;
        font-size: 1.35rem;
        margin-bottom: 46px;}

.hero-btns .btn {padding: 17px 40px;
        font-size: 1.16rem;}

.hero-categories {width: 500px;
        height: 500px;
        margin-left: 50px;}

.hcat-label {padding: 12px 16px;}

.hcat-title {font-size: 1rem;}

.hcat-more-inner {padding: 22px 24px;}

.hcat-more-subtitle {font-size: 1.5rem;}

.hcat-more-title {font-size: 2.5rem;}
}

@media (min-width: 2560px) {
.hero-content {max-width: 1840px;
        gap: 110px;
        padding: 128px 100px 104px;}

.hero-left {max-width: 860px;}

.hero-badge {padding: 9px 24px;
        font-size: 1.08rem;
        margin-bottom: 36px;}

.hero-title {font-size: 5.35rem;
        margin-bottom: 32px;}

.hero-desc {max-width: 780px;
        font-size: 1.55rem;
        line-height: 1.75;
        margin-bottom: 54px;}

.hero-btns {gap: 22px;}

.hero-btns .btn {padding: 20px 48px;
        font-size: 1.25rem;}

.hero-categories {width: 560px;
        height: 560px;
        margin-left: 60px;}

.hcat-label {padding: 14px 18px;}

.hcat-title {font-size: 1.08rem;}

.hcat-more-inner {padding: 28px 30px;}

.hcat-more-subtitle {font-size: 1.68rem;}

.hcat-more-title {font-size: 2.95rem;}

.hcat-more-arrow {width: 44px;
        height: 44px;
        font-size: 1rem;}
}

.mobile-categories {display: none;
    background: var(--bg-section);
    padding: 0;}

.mobile-categories-grid {display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);}

.mcat-card {position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
    min-height: 160px;}

.mcat-card:hover {transform: scale(1.02); z-index: 2;}

.mcat-img-wrap {flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f8f2;
    overflow: hidden;
    min-height: 110px;}

.mcat-img-wrap img {width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;}

.mcat-card:hover .mcat-img-wrap img {transform: scale(1.08);}

.mcat-label {display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: var(--white);
    border-top: 2px solid var(--green-pale);
    transition: background 0.3s ease, border-color 0.3s ease;}

.mcat-card:hover .mcat-label {background: var(--green-main);
    border-color: var(--green-main);}

.mcat-title {font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;}

.mcat-card:hover .mcat-title {color: var(--white);}

.mcat-arrow {width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--green-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-main);
    font-size: 0.65rem;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;}

.mcat-card:hover .mcat-arrow {background: rgba(255,255,255,0.25); color: var(--white);}

.mcat-card--more {background: var(--green-dark);
    align-items: stretch;
    justify-content: stretch;}

.mcat-card--more:hover {background: #1f5a26;}

.mcat-more-inner {display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 16px 14px;
    gap: 8px;
    min-height: 160px;}

.mcat-more-text {display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.1;}

.mcat-more-subtitle {font-size: 2.3rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;}

.mcat-more-title {font-family: var(--font-head);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
    line-height: 1;}

.mcat-more-arrow {width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
    align-self: flex-end;}

.mcat-card--more:hover .mcat-more-arrow {background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.9);
    transform: translateX(3px);}

.hero-category-card {display: none; /* 旧版已替换，保留防止出错 */}

.hcc-icon,
.hcc-text {display: none;}

.hero-scroll {position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.9rem; z-index: 2; animation: bounce 2s infinite;}

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

.section-link {display: inline-flex; align-items: center; gap: 6px; color: var(--green-main); font-weight: 600; font-size: 0.9rem;}

.section-link:hover {color: var(--green-dark);}

.text-green {color: var(--green-main);}

.about {padding: 96px 0; background: var(--white);}

.about-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;}

.about-text h2 {font-family: var(--font-head); font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 800; margin-bottom: 20px; line-height: 1.25;}

.about-text p {color: var(--text-mid); margin-bottom: 16px; font-size: 0.97rem;}

.about-text .btn {margin-top: 12px;}

.about-stats {display: grid; grid-template-columns: 1fr 1fr; gap: 24px;}

.stat-item {background: var(--bg-light); border-radius: var(--radius-lg); padding: 28px 24px; border: 1px solid var(--border); transition: var(--transition); text-align: center;}

.stat-item:hover {border-color: var(--green-light); box-shadow: var(--shadow); transform: translateY(-4px);}

.stat-number {font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--green-main); line-height: 1; margin-bottom: 6px;}

.stat-label {font-weight: 700; color: var(--text-dark); font-size: 0.9rem; margin-bottom: 4px;}

.stat-sub {color: var(--text-light); font-size: 0.78rem;}

.advantages {padding: 80px 0; background: var(--bg-section);}

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

.advantage-item {background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; text-align: center; border: 1px solid var(--border); transition: var(--transition); opacity: 0; transform: translateY(30px);}

.advantage-item.visible {opacity: 1; transform: translateY(0);}

.advantage-item:hover {border-color: var(--green-light); box-shadow: var(--shadow); transform: translateY(-6px);}

.adv-icon {width: 70px; height: 70px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--green-main); font-size: 1.6rem; transition: var(--transition);}

.advantage-item:hover .adv-icon {background: var(--green-main); color: var(--white);}

.advantage-item h3 {font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: var(--text-dark);}

.advantage-item p {color: var(--text-light); font-size: 0.88rem; line-height: 1.6;}

.products {padding: 96px 0; background: linear-gradient(180deg, #f8fdf6 100%, #ffffff 0%);}

.tabs-nav {display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; background: var(--bg-section); padding: 12px; border-radius: var(--radius-lg); justify-content: center;}

.tab-btn {display: flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-size: 1rem; font-weight: 600; color: var(--text-mid); transition: var(--transition);}

.tab-btn:hover {color: var(--green-main); background: rgba(76,175,80,0.1);}

.tab-btn.active {background: var(--green-main); color: var(--white); box-shadow: 0 4px 12px rgba(45,122,53,0.3);}

.tab-logo {display: flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); color: var(--text-mid); font-size: 1rem; font-weight: 600; transition: var(--transition); text-decoration: none;}

.tab-logo:hover {color: var(--green-main); background: rgba(76,175,80,0.1);}

.tab-content {display: none; animation: fadeIn 0.4s ease;}

.tab-content.active {display: block;}

@keyframes fadeIn {from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); }}

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

.product-card {background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; cursor: pointer;}

.product-card:hover {box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--green-light);}

.product-img {position: relative; height: 200px; overflow: hidden; background: var(--bg-section);}

.product-img img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;}

.product-card:hover .product-img img {transform: scale(1.08);}

.product-badge {position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;}

.badge-hit {background: var(--accent); color: var(--white);}

.badge-new {background: #2196f3; color: var(--white);}

.badge-eco {background: var(--green-main); color: var(--white);}

.product-body {padding: 20px; flex: 1; display: flex; flex-direction: column;}

.product-cat {font-size: 0.72rem; font-weight: 700; color: var(--green-main); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block;}

.product-body h4 {font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--text-dark);}

.product-body p {color: var(--text-light); font-size: 0.85rem; line-height: 1.55; flex: 1; margin-bottom: 16px;}

.product-link {display: inline-flex; align-items: center; gap: 6px; color: var(--green-main); font-weight: 600; font-size: 0.85rem; margin-top: auto; pointer-events: none;}

.product-link:hover {color: var(--green-dark); gap: 10px;}

.products-cta {text-align: center; margin-top: 40px;}

.factory-showcase {position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: var(--green-dark);}

.factory-showcase::before {content: "";
    position: absolute;
    inset: 0;
    background: url("../images/factory.jpg") center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;}

.factory-showcase-overlay {position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,40,18,0.97) 0%, rgba(26,74,31,0.88) 55%, rgba(20,60,25,0.75) 100%);
    z-index: 1;}

.factory-showcase-content {position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;}

.factory-showcase-left h2 {font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;}

.factory-showcase-left p {color: rgba(255,255,255,0.78);
    font-size: 1rem;
    margin-bottom: 36px;
    line-height: 1.7;}

.factory-stats {display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;}

.fstat {display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 16px 18px;
    transition: var(--transition);}

.fstat:hover {background: rgba(76,175,80,0.15);
    border-color: rgba(76,175,80,0.4);}

.fstat-icon {width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(76,175,80,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-light);
    font-size: 1rem;
    flex-shrink: 0;}

.fstat-info {display: flex; flex-direction: column; gap: 2px;}

.fstat-info strong {font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;}

.fstat-info span {font-size: 0.78rem;
    color: rgba(255,255,255,0.6);}

.factory-btns {display: flex; gap: 14px; flex-wrap: wrap;}

.factory-showcase-gallery {display: flex;
    flex-direction: column;
    gap: 12px;}

.fgallery-main {position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    border: 2px solid rgba(255,255,255,0.1);}

.fgallery-main img {width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;}

.fgallery-main:hover img {transform: scale(1.04);}

.fgallery-badge {position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(226, 248, 229, 0.85);
    backdrop-filter: blur(6px);
    color: var(--green-light);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(76,175,80,0.3);}

.fgallery-thumbs {display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;}

.fgallery-thumb {position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100px;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.08);
    transition: var(--transition);}

.fgallery-thumb:hover {border-color: var(--green-light);}

.fgallery-thumb img {width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;}

.fgallery-thumb:hover img {transform: scale(1.08);}

.fgallery-thumb span {position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 16px 8px 6px;
    text-align: center;}

.services {padding: 96px 0; background: var(--white);}

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

.service-card {border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition);}

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

.service-img {position: relative; height: 200px; overflow: hidden;}

.service-img img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;}

.service-card:hover .service-img img {transform: scale(1.08);}

.service-overlay {position: absolute; inset: 0; background: rgba(26,74,31,0.6); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 2rem; opacity: 0; transition: var(--transition);}

.service-card:hover .service-overlay {opacity: 1;}

.service-body {padding: 24px; background: var(--white);}

.service-body h3 {font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 10px;}

.service-body p {color: var(--text-light); font-size: 0.85rem; margin-bottom: 16px;}

.service-link {display: inline-flex; align-items: center; gap: 6px; color: var(--green-main); font-weight: 600; font-size: 0.85rem;}

.service-link:hover {gap: 10px;}

.news {padding: 96px 0; background: var(--bg-section);}

.news-grid {display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px;}

.news-right {display: flex; flex-direction: column; gap: 24px;}

.news-card {background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition);}

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

.news-img {position: relative; overflow: hidden;}

.news-img img {width: 100%; object-fit: cover; transition: transform 0.5s ease;}

.news-img:not(.small) img {height: 280px;}

.news-img.small img {height: 160px;}

.news-card:hover .news-img img {transform: scale(1.06);}

.news-cat {position: absolute; top: 14px; left: 14px; background: var(--green-main); color: var(--white); padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700;}

.news-body {padding: 24px;}

.news-date {color: var(--text-light); font-size: 0.8rem; display: flex; align-items: center; gap: 6px; margin-bottom: 10px;}

.news-body h3 {font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; line-height: 1.35;}

.news-body p {color: var(--text-light); font-size: 0.88rem; margin-bottom: 16px;}

.news-link {display: inline-flex; align-items: center; gap: 6px; color: var(--green-main); font-weight: 600; font-size: 0.85rem;}

.news-link:hover {gap: 10px;}

.contact {padding: 96px 0; background: var(--white);}

.contact-grid {display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; align-items: start;}

.contact-info h2 {font-family: var(--font-head); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; margin-bottom: 16px;}

.contact-info > p {color: var(--text-mid); margin-bottom: 32px;}

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

.contact-icon {width: 44px; height: 44px; border-radius: 50%; background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green-main); font-size: 1rem; flex-shrink: 0;}

.contact-item > div {display: flex; flex-direction: column; gap: 4px;}

.contact-item strong {font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light);}

.contact-item a,
.contact-item span {color: var(--text-dark); font-size: 0.92rem;}

.contact-item a:hover {color: var(--green-main);}

.contact-socials {display: flex; gap: 12px; margin-top: 28px;}

.csocial {width: 40px; height: 40px; border-radius: 50%; background: var(--bg-section); display: flex; align-items: center; justify-content: center; color: var(--text-mid); font-size: 1rem; transition: var(--transition);}

.csocial:hover {background: var(--green-main); color: var(--white);}

.form-row {display: grid; grid-template-columns: 1fr 1fr; gap: 16px;}

@media (max-width: 1100px) {
.advantages-grid,
.services-grid {grid-template-columns: repeat(2, 1fr);}

.products-grid {grid-template-columns: repeat(2, 1fr);}

.factory-showcase-content {grid-template-columns: 1fr; gap: 48px;}

.factory-showcase-gallery {max-width: 600px; margin: 0 auto;}
}

@media (max-width: 900px) {
.about-grid,
.contact-grid {grid-template-columns: 1fr; gap: 48px;}

.news-grid {grid-template-columns: 1fr;}

.hero-categories {width: 100%; max-width: 560px; height: 340px;}

.factory-stats {grid-template-columns: 1fr 1fr;}

.hero-categories {margin-left: 0;}
}

@media (max-width: 768px) {
.advantages-grid {grid-template-columns: 1fr 1fr;}

.products-grid {grid-template-columns: 1fr;}

.form-row {grid-template-columns: 1fr;}

.tabs-nav {gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 8px 10px;
        scrollbar-width: none;
        -ms-overflow-style: none;}

.tabs-nav::-webkit-scrollbar {display: none;}

.tab-btn {padding: 10px 14px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
        scroll-snap-align: start;}

.hero-categories {display: none;}

.mobile-categories {display: block;
        padding: 16px 0 24px;}

.factory-stats {grid-template-columns: 1fr;}

.fgallery-thumbs {grid-template-columns: repeat(3, 1fr);}
}

@media (max-width: 480px) {
.advantages-grid {grid-template-columns: 1fr;}

.services-grid {grid-template-columns: 1fr;}

.about-stats {grid-template-columns: 1fr 1fr;}

.mobile-categories {padding: 12px 0 20px;}

.mcat-card {min-height: 140px;}

.mcat-img-wrap {min-height: 90px;}

.mcat-more-inner {min-height: 140px; padding: 14px 12px;}

.mcat-more-title {font-size: 1rem;}

.hcat-more-title {font-size: 1.9rem;}

.hcat-more-subtitle {font-size: 2.8rem;}

.fgallery-thumbs {grid-template-columns: repeat(3, 1fr);}
}
.product-body p {font-size: 0.88rem;
    line-height: 1.7;}

.stat-label {font-size: 0.88rem;
    letter-spacing: 0.03em;}

.stat-sub {font-size: 0.75rem;
    letter-spacing: 0.02em;}

.advantage-item h3 {font-size: 1.05rem;
    letter-spacing: 0.04em;}

.advantage-item p {font-size: 0.9rem;
    line-height: 1.75;}

.factory-showcase-left h2 {font-family: var(--font-head);
    letter-spacing: 0.04em;
    line-height: 1.3;}

.factory-showcase-left p {font-size: 0.95rem;
    line-height: 1.85;
    letter-spacing: 0.02em;}

.fgallery-thumb span {font-size: 0.72rem;
    letter-spacing: 0.04em;}

.service-body h3 {font-size: 1.05rem;
    letter-spacing: 0.04em;}

.service-body p {font-size: 0.88rem;
    line-height: 1.75;}

.contact-form input,
.contact-form select,
.contact-form textarea {font-family: var(--font-main);
    font-size: 0.9rem;}

.tab-btn {font-size: 1rem;
    letter-spacing: 0.03em;}

.about-text p {font-size: 0.95rem;
    line-height: 1.85;}

@media (max-width: 768px) {
.factory-showcase-left h2 {font-size: clamp(1.5rem, 5vw, 2rem);}
}

/* Keep the restored ALL PRODUCTS card inside its 2 × 2 hero grid cell. */
.hcat-more-inner {padding: clamp(14px, 1.2vw, 22px);}

.hcat-more-text {min-width: 0;}

.hcat-more-subtitle {font-size: clamp(0.86rem, 0.9vw, 1.15rem);}

.hcat-more-title {
    font-size: clamp(1.45rem, 1.5vw, 2rem);
    letter-spacing: 0.02em;}

.hcat-more-arrow {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;}
