/* ============================================
   上海亿达为包装制品有限公司 官网样式
   传统企业集团风格 - 蓝白灰主色 - 响应式
   ============================================ */

/* ===== MiSans Font Face ===== */
@import url('../fonts/Normal/MiSans-Normal.min.css');
@import url('../fonts/Normal/MiSans-Medium.min.css');
@import url('../fonts/Normal/MiSans-Semibold.min.css');
@import url('../fonts/Normal/MiSans-Bold.min.css');
@import url('../fonts/Latin/MiSansLatin-Regular.min.css');
@import url('../fonts/Latin/MiSansLatin-Medium.min.css');
@import url('../fonts/Latin/MiSansLatin-Semibold.min.css');
@import url('../fonts/Latin/MiSansLatin-Bold.min.css');

/* ===== CSS Variables ===== */
:root {
  --color-primary: #1a365d;
  --color-primary-dark: #0d2640;
  --color-primary-light: #2a5080;
  --color-accent: #c41230;
  --color-gold: #8b6914;
  --color-white: #ffffff;
  --color-bg-light: #f2f4f7;
  --color-bg-gray: #e8ebf0;
  --color-text-dark: #222222;
  --color-text: #444444;
  --color-text-medium: #666666;
  --color-text-light: #999999;
  --color-border: #d5d8dc;
  --font-family: 'MiSans', 'MiSans Latin', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
  --nav-height: 56px;
  --topbar-height: 36px;
}

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

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--color-primary-dark);
  color: #aabbcc;
  font-size: 14px;
  height: auto;
  min-height: 36px;
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.top-bar .welcome {
  color: #8899aa;
}

.top-bar .lang-switch a {
  color: #aabbcc;
  padding: 0 8px;
  font-size: 14px;
}

.top-bar .lang-switch a:hover,
.top-bar .lang-switch a.active {
  color: var(--color-white);
}

.top-bar .lang-switch span {
  color: #556677;
  margin: 0 2px;
}

/* ===== Navigation ===== */
.nav {
  background: var(--color-primary);
  height: auto;
  min-height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav .logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.nav .logo-area img {
  height: 44px;
  width: auto;
}

.nav .logo-text {
  color: var(--color-white);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: stretch;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li a {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  color: #ccd8e6;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

.nav-links li a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.12);
  font-weight: 600;
}

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-white);
  transition: 0.3s;
}

/* ===== Hero / Banner ===== */
.hero {
  position: relative;
  height: 66.67vh;
  min-height: 480px;
  background: linear-gradient(135deg, #0d2640 0%, #1a3a5e 40%, #1e4d80 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

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

.hero-content .hero-subtitle-top {
  font-size: 28px;
  color: #8aaccc;
  letter-spacing: 6px;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-content h1 {
  font-size: 94px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 4px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content h1 span {
  display: inline-block;
}

.hero-content .hero-subtitle {
  font-size: 28px;
  color: #b0c8de;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-desc .md-br { display: none; }

.hero-content .hero-desc {
  font-size: 22px;
  color: #889eb8;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 620px;
}

/* English mode: smaller hero text */
html[lang="en"] .hero-content h1 {
  font-size: 42px;
  letter-spacing: 2px;
}

html[lang="en"] .hero-content .hero-subtitle-top {
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

html[lang="en"] .hero-content .hero-subtitle {
  font-size: 20px;
}

html[lang="en"] .hero-content .hero-desc {
  font-size: 17px;
  max-width: 580px;
}

html[lang="en"] .hero-content {
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-family);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background: #a00e28;
  border-color: #a00e28;
}

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

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

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}

.btn-white:hover {
  background: #e8ebf0;
  border-color: #e8ebf0;
}

/* ===== Section Common ===== */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--color-bg-light);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-primary-dark);
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-wrap: balance;
}

.section-title .en-title {
  font-size: 15px;
  color: var(--color-text-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
}

.section-title .title-divider {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--color-accent);
  margin: 14px auto 0;
}

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

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  text-align: center;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--color-primary);
}

.product-card .card-img {
  height: 280px;
  overflow: hidden;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .card-body {
  padding: 22px 18px;
}

.product-card .card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.product-card .card-body .card-en {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.product-card .card-body p {
  font-size: 14px;
  color: var(--color-text-medium);
  line-height: 1.7;
}

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

.adv-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 30px 26px;
  text-align: center;
}

.adv-item .adv-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 26px;
  font-weight: 700;
  line-height: 68px;
  text-align: center;
}

.adv-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.adv-item p {
  font-size: 14px;
  color: var(--color-text-medium);
  line-height: 1.7;
}

/* ===== Company Intro (Home) ===== */
.intro-content {
  display: flex;
  gap: 56px;
  align-items: center;
}

.intro-text {
  flex: 1;
}

.intro-text h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}

.intro-text p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--color-text);
  margin-bottom: 14px;
  text-indent: 2em;
}

.intro-image {
  width: 460px;
  flex-shrink: 0;
}

.intro-image .img-placeholder {
  width: 100%;
  height: 340px;
  background: var(--color-bg-gray);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.intro-image .img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Contact CTA ===== */
.contact-cta {
  background: var(--color-primary-dark);
  color: var(--color-white);
  padding: 56px 0;
  text-align: center;
}

.contact-cta h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 2px;
  text-wrap: balance;
}

.contact-cta p {
  font-size: 16px;
  color: #889eb8;
  margin-bottom: 28px;
}

.contact-cta .contact-info-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-cta .contact-info-item {
  font-size: 15px;
  color: #b0c8de;
}

.contact-cta .contact-info-item strong {
  color: var(--color-white);
  margin-right: 6px;
}

.cta-qr {
  margin-top: 28px;
  text-align: center;
}

.cta-qr .qr-title {
  font-size: 15px;
  color: #b0c8de;
  margin-bottom: 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.cta-qr img {
  display: block;
  margin: 0 auto;
  width: 140px;
  height: 140px;
  border: 3px solid rgba(255,255,255,0.2);
}

/* ===== Footer ===== */
.footer {
  background: #0a1a2e;
  color: #8899aa;
  padding: 48px 0 24px;
  font-size: 14px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-about h4 {
  font-size: 17px;
  color: var(--color-white);
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-about p {
  line-height: 2;
  margin-bottom: 6px;
}

.footer-links h4 {
  font-size: 16px;
  color: var(--color-white);
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #8899aa;
  font-size: 14px;
}

.footer-links li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  text-align: center;
  color: #667788;
  font-size: 13px;
}

.footer-bottom p {
  margin-bottom: 4px;
}

/* ===== Page Banner (Inner Pages) ===== */
.page-banner {
  background: var(--color-primary-dark);
  padding: 56px 0;
  text-align: center;
  border-bottom: 3px solid var(--color-accent);
}

.page-banner h2 {
  font-size: 34px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.page-banner .banner-en {
  font-size: 16px;
  color: #889eb8;
  letter-spacing: 3px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
  font-size: 14px;
  color: var(--color-text-medium);
}

.breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.breadcrumb span {
  margin: 0 6px;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-medium);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ===== About Page ===== */
.about-content {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
}

.about-text p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--color-text);
  text-indent: 2em;
  margin-bottom: 16px;
}

.about-side {
  width: 380px;
  flex-shrink: 0;
}

.about-side .side-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 26px;
  margin-bottom: 20px;
}

.about-side .side-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.about-side .side-box p {
  font-size: 15px;
  color: var(--color-text-medium);
  line-height: 1.9;
}

.about-side .side-img-box {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.about-side .side-img-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ===== Culture Section ===== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.culture-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 34px 22px;
  text-align: center;
}

.culture-card .culture-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.culture-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.culture-card p {
  font-size: 15px;
  color: var(--color-text-medium);
  line-height: 1.8;
}

/* Slogan banner */
.slogan-banner {
  background: var(--color-primary);
  padding: 48px 0;
  text-align: center;
  color: var(--color-white);
}

.slogan-banner .slogan-zh {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 8px;
  margin-bottom: 10px;
}

.slogan-banner .slogan-en {
  font-size: 16px;
  letter-spacing: 5px;
  color: #889eb8;
}

/* ===== Products Page ===== */
.product-intro-text {
  font-size: 16px;
  line-height: 2.1;
  color: var(--color-text);
  text-indent: 2em;
  margin-bottom: 40px;
  max-width: none;
}

.product-category {
  margin-bottom: 52px;
}

.product-category h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
}

.product-category .category-en {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 22px;
  padding-left: 18px;
}

.product-detail-row {
  display: flex;
  gap: 40px;
  margin-top: 22px;
}

.product-detail-row .detail-text {
  flex: 1;
}

.product-detail-row .detail-text h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 18px 0 10px;
}

.product-detail-row .detail-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-medium);
}

.product-detail-row .detail-img {
  width: 440px;
  flex-shrink: 0;
  height: 340px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.product-detail-row .detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-item {
  border: 1px solid var(--color-border);
  overflow: hidden;
  height: 320px;
  background: var(--color-bg-light);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Featured Product Two-Column */
.focus-product-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.focus-product-text {
  flex: 1;
  min-width: 0;
}

.focus-product-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 12px;
}

.focus-product-text h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin: 18px 0 10px;
}

.focus-product-text .focus-features {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-medium);
}

.focus-product-images {
  width: 380px;
  flex-shrink: 0;
}

.focus-product-images .focus-main-img {
  width: 100%;
  height: 300px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-bg-light);
  margin-bottom: 12px;
}

.focus-product-images .focus-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.focus-product-images .focus-thumbs {
  display: flex;
  gap: 8px;
}

.focus-product-images .focus-thumbs .thumb {
  flex: 1;
  height: 90px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: var(--color-bg-light);
}

.focus-product-images .focus-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Equipment Section ===== */
.equipment-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.equipment-img {
  width: 480px;
  flex-shrink: 0;
  height: 360px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.equipment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-text {
  flex: 1;
}

.equipment-text h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

.equipment-text p {
  font-size: 16px;
  line-height: 2.1;
  color: var(--color-text);
}

/* ===== Contact Page ===== */
.contact-layout {
  display: flex;
  gap: 48px;
}

.contact-info-panel {
  width: 420px;
  flex-shrink: 0;
}

.contact-info-panel .info-block {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 28px;
  margin-bottom: 24px;
}

.contact-info-panel .info-block h4 {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}

.contact-info-panel .info-block .info-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.9;
}

.contact-info-panel .info-block .info-label {
  width: 64px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.contact-info-panel .info-block .info-value {
  color: var(--color-text);
}

.contact-form-panel {
  flex: 1;
}

.contact-form-panel h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.contact-form-panel .form-subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-size: 15px;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group label .required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-family);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-dark);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
}

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

.form-submit {
  margin-top: 24px;
}

.form-submit .btn {
  cursor: pointer;
}

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

.factory-item {
  border: 1px solid var(--color-border);
  overflow: hidden;
  height: 300px;
  background: var(--color-bg-light);
}

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

/* ==============================================
   RESPONSIVE - Tablet (768px - 1024px)
   ============================================== */
@media (max-width: 1024px) {
  html {
    font-size: 16px;
  }

  body {
    word-break: normal;
  }

  /* Nav */
  .nav-links li a {
    padding: 16px 14px;
    font-size: 15px;
  }

  .nav .logo-area img {
    height: 36px;
  }

  /* Hero */
  .hero {
    height: 55vh;
    min-height: 400px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 56px;
    letter-spacing: 3px;
  }

  .hero-content .hero-subtitle {
    font-size: 22px;
  }

  .hero-content .hero-subtitle-top {
    font-size: 20px;
    letter-spacing: 4px;
  }

  .hero-content .hero-desc {
    font-size: 17px;
  }

  /* Grid adjustments */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .product-card .card-img {
    height: 260px;
  }

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

  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .gallery-item {
    height: 240px;
  }

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

  .factory-item {
    height: 260px;
  }

  /* Intro */
  .intro-content {
    flex-direction: column;
    gap: 32px;
  }

  .intro-image {
    width: 100%;
  }

  .intro-image .img-placeholder {
    height: 300px;
  }

  /* About */
  .about-content {
    flex-direction: column;
    gap: 32px;
  }

  .about-side {
    width: 100%;
    display: flex;
    gap: 16px;
  }

  .about-side .side-box {
    flex: 1;
    margin-bottom: 0;
  }

  /* Product detail */
  .product-detail-row {
    flex-direction: column;
  }

  .product-detail-row .detail-img {
    width: 100%;
    height: 280px;
  }

  /* Focus product */
  .focus-product-row {
    flex-direction: column;
    gap: 28px;
  }

  .focus-product-images {
    width: 100%;
    display: flex;
    gap: 12px;
  }

  .focus-product-images .focus-main-img {
    flex: 1;
    height: 280px;
    margin-bottom: 0;
  }

  .focus-product-images .focus-thumbs {
    flex-direction: column;
    width: 110px;
    flex-shrink: 0;
  }

  .focus-product-images .focus-thumbs .thumb {
    flex: 1;
    height: auto;
    min-height: 0;
  }

  /* Equipment */
  .equipment-content {
    flex-direction: column;
  }

  .equipment-img {
    width: 100%;
    height: 320px;
  }

  /* Contact */
  .contact-layout {
    flex-direction: column;
  }

  .contact-info-panel {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }

  .contact-info-panel .info-block {
    margin-bottom: 0;
  }

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

  /* Section */
  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }
}

/* ==============================================
   RESPONSIVE - Mobile (up to 768px)
   ============================================== */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  /* Top bar */
  .top-bar {
    font-size: 13px;
    padding: 8px 0;
  }

  .top-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .top-bar .welcome {
    font-size: 13px;
  }

  /* Nav hamburger */
  .nav-inner {
    flex-wrap: wrap;
    padding: 0 16px;
  }

  .nav .logo-area img {
    height: 36px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--color-primary);
    padding: 0;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links li a {
    width: 100%;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 16px;
  }

  .nav-links li a.active {
    background: rgba(255,255,255,0.15);
    font-weight: 600;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 70vh;
    padding: 60px 0;
  }

  html[lang="en"] .hero {
    height: calc(100vh - 36px - 56px);
    min-height: calc(100vh - 36px - 56px);
    padding-bottom: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 44px;
    letter-spacing: 2px;
  }

  .hero-content .hero-subtitle {
    font-size: 20px;
  }

  .hero-content .hero-subtitle-top {
    font-size: 17px;
    letter-spacing: 3px;
  }

  .hero-desc .md-br { display: inline; }

  .hero-content .hero-desc {
    font-size: 16px;
  }

  .btn {
    padding: 13px 30px;
    font-size: 15px;
  }

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

  .product-card .card-img {
    height: 220px;
  }

  .product-card .card-body {
    padding: 16px 12px;
  }

  .product-card .card-body h3 {
    font-size: 16px;
  }

  .product-card .card-body p {
    font-size: 13px;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .adv-item {
    padding: 24px 16px;
  }

  .adv-item h4 {
    font-size: 16px;
  }

  .adv-item p {
    font-size: 14px;
  }

  /* Culture */
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .culture-card {
    padding: 24px 16px;
  }

  .culture-card h4 {
    font-size: 16px;
  }

  .culture-card p {
    font-size: 14px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-item {
    height: 220px;
  }

  /* Factory */
  .factory-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .factory-item {
    height: 240px;
  }

  /* About */
  .about-content {
    flex-direction: column;
    gap: 24px;
  }

  .about-side {
    width: 100%;
    flex-direction: column;
  }

  /* Intro */
  .intro-content {
    flex-direction: column;
  }

  .intro-image {
    width: 100%;
  }

  .intro-image .img-placeholder {
    height: 260px;
  }

  .intro-text p {
    text-indent: 1.5em;
    text-align: start;
  }

  /* Focus product */
  .focus-product-row {
    flex-direction: column;
    gap: 20px;
  }

  .focus-product-images {
    width: 100%;
  }

  .focus-product-images .focus-main-img {
    height: 260px;
  }

  /* Equipment */
  .equipment-content {
    flex-direction: column;
  }

  .equipment-img {
    width: 100%;
    height: 280px;
  }

  /* Contact */
  .contact-layout {
    flex-direction: column;
  }

  .contact-info-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  /* CTA */
  .contact-cta h3 {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .contact-info-row {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

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

  /* Section */
  .section {
    padding: 44px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  /* Page banner */
  .page-banner {
    padding: 40px 0;
  }

  .page-banner h2 {
    font-size: 28px;
  }

  /* Slogan */
  .slogan-banner .slogan-zh {
    font-size: 22px;
    letter-spacing: 4px;
  }

  .slogan-banner .slogan-en {
    font-size: 14px;
    letter-spacing: 3px;
  }
}

/* ==============================================
   RESPONSIVE - Small Mobile (up to 480px)
   ============================================== */
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .hero {
    min-height: 65vh;
    padding: 44px 0;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content .hero-subtitle {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

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

  .product-card .card-img {
    height: 180px;
  }

  .product-card .card-body h3 {
    font-size: 15px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .culture-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-item {
    height: 180px;
  }

  .factory-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .factory-item {
    height: 220px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .section {
    padding: 36px 0;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .product-detail-row .detail-img {
    height: 220px;
  }

  .focus-product-images .focus-main-img {
    height: 220px;
  }

  .equipment-img {
    height: 220px;
  }

  .about-text p {
    text-indent: 1.5em;
    text-align: start;
  }

  .contact-form-panel h3 {
    font-size: 20px;
  }
}
