/* ============================================
   Yuyuan Foods - Single Page Website Styles
   Color Scheme: Red / Black / White
   ============================================ */

/* ---- Base Reset ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: #c8102e;
    --red-dark: #a00d24;
    --red-soft: #fde8ec;
    --black: #1a1a1a;
    --gray-900: #222;
    --gray-600: #6b7280;
    --gray-400: #9ca3af;
    --gray-200: #e5e7eb;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --bg-warm: #faf8f7;
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --container: 1200px;
    --header-h: 72px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .25s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ---- Container ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 90px 0;
}

.section-tight {
    padding: 60px 0;
}

.bg-warm {
    background: var(--bg-warm);
}

.bg-dark {
    background: var(--black);
}

.text-center {
    text-align: center;
}

/* ---- Section Heading ---- */
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-head .label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
    position: relative;
    padding: 0 28px;
}

.section-head .label::before,
.section-head .label::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--red);
    opacity: .35;
}

.section-head .label::before {
    left: 0;
}

.section-head .label::after {
    right: 0;
}

.section-head h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.35;
}

.section-head p {
    margin-top: 16px;
    color: var(--gray-600);
    font-size: 15px;
}

.section-head.light h2,
.section-head.light .label {
    color: var(--white);
}

.section-head.light .label::before,
.section-head.light .label::after {
    background: var(--white);
}

.section-head.light p {
    color: rgba(255, 255, 255, .65);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all .3s;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 16, 46, .3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, .4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, .1);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--red);
}

/* ============================================
   Fixed Navigation Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .3s;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

/* Top Info Bar */
.top-bar {
    background: var(--black);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-bar .info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar .info-item i {
    color: var(--red);
    font-size: 12px;
}

.top-bar .right {
    display: flex;
    gap: 24px;
}

.top-bar a:hover {
    color: var(--white);
}

/* Main Navigation */
.nav-wrap {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: auto;
}

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > li > a {
    display: block;
    padding: 8px 16px;
    font-size: 17px;
    font-weight: 500;
    color: var(--gray-900);
    border-radius: 4px;
    transition: all .25s;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--red);
}

/* Sub Menu (hover, no dropdown arrow) */
.has-sub {
    position: relative;
}

.has-sub > a::after {
    display: none;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 180px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all .25s;
}

.has-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--gray-600);
    transition: all .2s;
}

.sub-menu li a:hover {
    color: var(--red);
    background: var(--red-soft);
    padding-left: 28px;
}

/* Nav CTA */
.nav-cta {
    margin-left: 16px;
}

.nav-cta .btn {
    padding: 10px 28px;
    font-size: 14px;
}

/* Mobile Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--black);
    transition: .3s;
    border-radius: 2px;
}

/* Language Switcher */
.lang-switch > a {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.lang-menu {
    min-width: 120px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 850px;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 140px) 0 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0e 50%, #4a0e1a 100%);
    color: var(--white);
    overflow: hidden;
}

/* Decorative Circle */
.hero::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, .25) 0%, transparent 70%);
}

.hero::after {
    content: "";
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 16, 46, .12) 0%, transparent 70%);
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, .2);
    border: 1px solid rgba(200, 16, 46, .4);
    color: #ff6b7a;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .4; }
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero h1 .accent {
    color: var(--red);
}

.hero h1 .thin {
    font-weight: 300;
    font-size: 32px;
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .8);
}

.hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, .7);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Image */
.hero-visual {
    flex: 0 0 42%;
    position: relative;
}

.hero-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}

.hero-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--white);
    color: var(--black);
    padding: 20px 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.hero-badge .num {
    font-size: 36px;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}

.hero-badge .txt {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 4px;
}

/* ============================================
   About Us
   ============================================ */
.about-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-visual {
    flex: 0 0 45%;
    position: relative;
}

.about-visual img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.about-visual .exp-badge {
    position: absolute;
    top: 24px;
    right: -20px;
    background: var(--red);
    color: var(--white);
    padding: 18px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-visual .exp-badge .num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.about-visual .exp-badge .txt {
    font-size: 12px;
    margin-top: 4px;
    opacity: .9;
}

.about-content {
    flex: 1;
}

.about-content .label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.35;
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 28px 0 36px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--gray-900);
    font-weight: 500;
}

.about-list li i {
    color: var(--red);
    font-size: 16px;
}

/* ============================================
   Stats
   ============================================ */
.stats {
    background: var(--black);
    color: var(--white);
    padding: 60px 0;
}

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

.stats-grid .item {
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.stats-grid .item:last-child {
    border-right: none;
}

.stats-grid .num {
    font-size: 44px;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
    margin-bottom: 10px;
}

.stats-grid .num .unit {
    font-size: 22px;
    margin-left: 2px;
}

.stats-grid .title {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 4px;
}

.stats-grid .desc {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .35s;
    border: 1px solid var(--gray-200);
}

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

.product-card .img-box {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.product-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

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

.product-card .img-box .tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--red);
    color: var(--white);
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 500;
}

.product-card .body {
    padding: 17px;
}

.product-card .body h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.product-card .body p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-card .body .more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
}

.product-card .body .more i {
    transition: transform .25s;
}

.product-card:hover .body .more i {
    transform: translateX(4px);
}

/* ============================================
   Factory Tour
   ============================================ */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.factory-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .35s;
}

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

.factory-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.factory-grid .item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    transition: all .35s;
}

.factory-grid .item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.factory-grid .item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s;
}

.factory-grid .item:hover img {
    transform: scale(1.05);
}

.factory-grid .item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity .3s;
}

.factory-grid .item:hover .overlay {
    opacity: 1;
}

.factory-grid .item .overlay span {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.factory-grid .item.span-2 {
    grid-column: span 2;
}

.factory-grid .item.span-2 img {
    height: 200px;
}

/* ============================================
   Cooperation Process
   ============================================ */
.process {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0e 100%);
    color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: rgba(200, 16, 46, .25);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-step .step-num {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--red);
    position: relative;
    transition: all .3s;
}

.process-step:hover .step-num {
    background: var(--red);
    color: var(--white);
    transform: scale(1.05);
}

.process-step h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.process-step p {
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.7;
    padding: 0 8px;
}

/* ============================================
   Testimonials
   ============================================ */
.testi-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.testi-card {
    background: var(--white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
}

.testi-card .quote-icon {
    font-size: 48px;
    color: var(--red-soft);
    margin-bottom: 16px;
    line-height: 1;
}

.testi-card .stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 16px;
    letter-spacing: 3px;
}

.testi-card .text {
    font-size: 17px;
    color: var(--gray-900);
    line-height: 1.9;
    margin-bottom: 28px;
    font-style: italic;
}

.testi-card .author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.testi-card .author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-card .author .name {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.testi-card .author .role {
    font-size: 13px;
    color: var(--gray-600);
}

/* ============================================
   News
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    border: 1px solid var(--gray-200);
}

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

.news-card .img-box {
    height: 200px;
    overflow: hidden;
}

.news-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

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

.news-card .body {
    padding: 24px;
}

.news-card .meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.news-card .meta .cat {
    color: var(--red);
    font-weight: 600;
}

.news-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-card .link {
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   Export Qualifications Carousel
   ============================================ */
.certs-carousel {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.certs-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: certsScroll 40s linear infinite;
}

.certs-track:hover {
    animation-play-state: paused;
}

@keyframes certsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cert-card {
    flex-shrink: 0;
    width: 170px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 28px 16px;
    transition: all .3s;
    box-shadow: var(--shadow-sm);
}

.cert-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-md);
}

.cert-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.cert-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

/* ============================================
   Contact Us
   ============================================ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-info-item .icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--red-soft);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-info-item .text .label {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-info-item .text .value {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

.contact-info-item .text .value a:hover {
    color: var(--red);
}

/* Form */
.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--gray-900);
    background: var(--gray-100);
    transition: all .25s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, .08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--black);
    color: rgba(255, 255, 255, .6);
    padding: 60px 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .logo {
    margin-bottom: 18px;
}

.footer-brand .logo-img {
    height: 48px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .5);
}

.footer-links {
    display: flex;
    gap: 56px;
    flex-wrap: wrap;
}

.footer-col h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 15px;
    color: rgba(255, 255, 255, .5);
    transition: color .25s;
}

.footer-col ul li a:hover {
    color: var(--red);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 12px;
}

.footer-contact li i {
    color: var(--red);
    font-size: 15px;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, .35);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .5);
}

.footer-bottom a:hover {
    color: var(--red);
}

/* ============================================
   Back to Top
   ============================================ */
.back-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(200, 16, 46, .35);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
}

/* ============================================
   Image Lightbox
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    padding: 40px;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.lightbox .close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: var(--white);
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s;
}

.lightbox .close:hover {
    background: var(--red);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 { font-size: 42px; }
    .hero h1 .thin { font-size: 26px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .factory-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-grid::before { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid .item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 24px; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-head h2 { font-size: 26px; }
    .section-head { margin-bottom: 40px; }

    /* Mobile Navigation */
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s;
    }
    .nav-menu.open { max-height: 600px; }
    .nav-menu > li > a { padding: 14px 16px; border-bottom: 1px solid var(--gray-100); }
    .nav-menu > li:last-child > a { border-bottom: none; }
    .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0 0 0 24px;
        min-width: auto;
    }
    .nav-cta { display: none; }

    /* Hero */
    .hero .container { flex-direction: column; }
    .hero-visual { flex: none; width: 100%; max-width: 420px; }
    .hero h1 { font-size: 34px; }
    .hero h1 .thin { font-size: 22px; }

    /* About */
    .about-wrap { flex-direction: column; }
    .about-visual { flex: none; width: 100%; }
    .about-visual .exp-badge { right: 12px; }
    .about-list { grid-template-columns: 1fr; }

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

    /* Factory */
    .factory-grid { grid-template-columns: 1fr; }

    /* Team */

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

    /* Process */
    .process-grid { grid-template-columns: 1fr; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr; }
    .stats-grid .item { border-bottom: none; }

    /* Contact */
    .contact-wrap { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }

    /* Footer */
    .footer-main { grid-template-columns: 1fr; gap: 32px; }

    /* Top bar */
    .top-bar { display: none; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 28px; }
    .section-head h2 { font-size: 22px; }
    .testi-card { padding: 32px 24px; }
    .testi-card .text { font-size: 15px; }
}
