/* =============================================
   JIANGHONG MACHINERY - MAIN STYLESHEET
   jianghongmachinery.com
   ============================================= */

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

:root {
  --primary: #1a5276;
  --primary-dark: #0d2f45;
  --primary-light: #2980b9;
  --accent: #e67e22;
  --accent-dark: #ca6f1e;
  --text: #2c3e50;
  --text-light: #5d6d7e;
  --text-muted: #95a5a6;
  --bg: #f8f9fa;
  --bg-dark: #1a2a3a;
  --white: #ffffff;
  --border: #e0e7ef;
  --shadow: 0 4px 24px rgba(26,82,118,0.10);
  --shadow-lg: 0 8px 40px rgba(26,82,118,0.16);
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

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

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

ul { list-style: none; }

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,126,34,0.35);
}

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

.btn-outline-sm {
  padding: 8px 18px;
  font-size: 13px;
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.btn-outline-sm:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ---- Section Common ---- */
.section { padding: 80px 0; }
.section-tag {
  display: inline-block;
  background: #e8f4fd;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 40px;
}
.section-header.centered {
  text-align: center;
}
.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--bg);
  border-radius: 6px;
  padding: 3px;
  border: 1px solid var(--border);
}
.lang-btn {
  padding: 5px 10px;
  border: none;
  background: transparent;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font);
  letter-spacing: 0.3px;
}
.lang-btn:hover {
  color: var(--primary);
  background: #e8f4fd;
}
.lang-btn.active {
  background: var(--primary);
  color: var(--white);
}
.lang-btn.active:hover {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   HEADER
   ============================================ */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav */
.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li {
  position: relative;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--primary);
  background: #e8f4fd;
}
.main-nav > ul > li > a.active {
  font-weight: 700;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
  color: var(--primary);
  background: #f0f7ff;
  padding-left: 24px;
}

/* Header contact */
.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  padding: 8px 16px;
  background: #e8f4fd;
  border-radius: 6px;
}
.header-contact i { color: var(--accent); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  margin-top: 72px;
  position: relative;
  overflow: hidden;
  height: 600px;
}

.hero-slider { height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; }

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

.hero-badge {
  display: inline-block;
  background: rgba(230,126,34,0.15);
  color: #f39c12;
  border: 1px solid rgba(230,126,34,0.4);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 52px;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-content h1 span {
  color: #f39c12;
  display: block;
}

.hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--primary);
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { padding: 8px; }
.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number span {
  color: var(--accent);
  font-size: 28px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section { background: var(--bg); }

.product-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.product-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.cat-list li {
  border-bottom: 1px solid var(--border);
}
.cat-list li:last-child { border-bottom: none; }
.cat-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 8px;
  color: var(--text-light);
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--transition);
}
.cat-list li a:hover,
.cat-list li.active a {
  color: var(--primary);
}
.cat-list li a i { font-size: 8px; color: var(--primary-light); }

.product-grid-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid var(--border);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.product-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #f0f4f8;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.product-info {
  padding: 18px 20px 20px;
}
.product-info h3 {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.4;
  color: var(--text);
}
.product-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.product-link:hover { gap: 10px; color: var(--accent); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { background: var(--white); }

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

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(230,126,34,0.4);
  text-align: center;
}
.exp-num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.exp-num sup { font-size: 16px; }
.exp-text {
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  opacity: 0.9;
}

.about-lead {
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-text-side p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.75;
}
.about-text-side .section-title { margin-bottom: 8px; }

.about-features {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #e8f4fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 14px;
  margin-bottom: 3px;
  color: var(--text);
}
.feature-text p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

/* ============================================
   APPLICATIONS SECTION
   ============================================ */
.applications-section { background: var(--bg); }

.app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.app-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.app-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
  font-size: 22px;
}
.app-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--text);
}
.app-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section { background: var(--white); }

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

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

.news-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-date-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  min-width: 52px;
}
.news-date-badge .day {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.news-date-badge .month {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  white-space: nowrap;
}

.news-content {
  padding: 20px 22px 22px;
}
.news-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.news-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.45;
}
.news-content h3 a:hover { color: var(--primary); }
.news-content p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}
.news-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--transition);
}
.news-link:hover { gap: 10px; color: var(--accent); }

.news-list-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-list-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.news-list-item:hover { border-color: var(--primary); background: var(--white); box-shadow: var(--shadow); }

.news-list-date {
  background: var(--primary);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  min-width: 52px;
  flex-shrink: 0;
  height: fit-content;
}
.news-list-date .day {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.news-list-date .month {
  display: block;
  font-size: 10px;
  opacity: 0.85;
  white-space: nowrap;
}

.news-list-content { flex: 1; }
.news-list-content h4 {
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-list-content h4 a:hover { color: var(--primary); }
.news-list-content p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   CONTACT CTA
   ============================================ */
.contact-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 200px; }
.cta-text h2 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 8px;
}
.cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}
.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 2;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.cta-contact-item i {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 14px;
}
.cta-contact-item span {
  display: block;
  font-size: 11px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cta-contact-item strong {
  display: block;
  font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #0e1c2d;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 14px 0 20px;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-logo .logo-main {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.footer-logo .logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
}
.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  transition: color var(--transition);
  line-height: 1.6;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.6;
}
.footer-contacts li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 12.5px;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,82,118,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 500;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--accent); }

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.page-banner {
  margin-top: 72px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner-content {
  position: relative;
  z-index: 1;
}
.page-banner h1 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 10px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 10px; }

/* Products page layout */
.products-page { padding: 60px 0; background: var(--bg); }
.products-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.sidebar-header {
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.sidebar-nav { padding: 12px 0; }
.sidebar-nav > li { border-bottom: 1px solid var(--border); }
.sidebar-nav > li:last-child { border-bottom: none; }
.sidebar-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-nav > li > a:hover,
.sidebar-nav > li.active > a {
  color: var(--primary);
  background: #f0f7ff;
}
.sidebar-nav > li.active > a {
  border-left: 3px solid var(--primary);
}

.products-content-area { flex: 1; }

.category-section {
  margin-bottom: 50px;
}
.cat-section-title {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-section-title span.cat-icon {
  background: var(--primary);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

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

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page { padding: 60px 0; }

.company-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.intro-text .section-title { margin-bottom: 16px; }
.intro-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

.company-values {
  background: var(--bg);
  padding: 60px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}
.value-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 14px;
}
.value-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page { padding: 60px 0; }

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

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}
.contact-info-card h2 {
  color: var(--white);
  font-size: 26px;
  margin-bottom: 12px;
}
.contact-info-card > p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}
.info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.info-text { flex: 1; }
.info-text label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 2px;
}
.info-text span {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 36px;
}
.contact-form-card h2 {
  font-size: 24px;
  margin-bottom: 6px;
}
.contact-form-card > p {
  color: var(--text-light);
  margin-bottom: 24px;
  font-size: 14px;
}

.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,82,118,0.08); }
textarea.form-control { resize: vertical; min-height: 120px; }

select.form-control { cursor: pointer; }

.btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all var(--transition);
  font-family: var(--font);
}
.btn-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,126,34,0.35);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-page { padding: 60px 0; background: var(--bg); }


.product-detail-img img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.product-detail-text {}
.product-detail-text h1 {
  font-size: 26px;
  margin-bottom: 16px;
  color: var(--text);
}
.product-intro {
  background: #f0f7ff;
  border-left: 4px solid var(--primary);
  padding: 16px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 24px;
}
.spec-table th {
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.spec-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.spec-table tr:nth-child(even) td { background: #f7f9fc; }

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

.product-detail-desc {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.product-detail-desc h2 {
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.product-detail-desc p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 12px;
}
.product-detail-desc ul {
  list-style: none;
  padding: 0;
}
.product-detail-desc ul li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
}
.product-detail-desc ul li::before {
  content: "•";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 18px;
  line-height: 1.3;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid-main { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .about-grid, .company-intro { grid-template-columns: 1fr; gap: 40px; }
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content h1 { font-size: 38px; }
  .products-page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 700px) {
  .hero { height: 500px; }
  .hero-content h1 { font-size: 30px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 24px; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a { padding: 14px 24px; border-radius: 0; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-left: 3px solid var(--primary); margin-left: 20px; }
  .header-contact { display: none; }
  .lang-switcher { font-size: 11px; }
  .lang-btn { padding: 4px 7px; font-size: 11px; }
  .product-grid-main { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .product-detail-btns { flex-direction: column; }
  .hero-content { padding: 0 12px; }
}

@media (max-width: 480px) {
  .app-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 26px; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
