/* ==========================================================================
   DALIAN FORKLIFT GROUP — Global Styles
   Fonts: Montserrat (headings) + Inter (body) — Google Fonts, OFL, free commercial use
   Palette: deep navy + industrial orange/yellow accents
   ========================================================================== */

:root {
  --navy: #0e2a47;
  --navy-2: #14375c;
  --navy-3: #0a1f36;
  --accent: #f5a623;
  --accent-dark: #e08e0a;
  --orange: #e8720a;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --bg-dark: #0b2238;
  --text: #1a2733;
  --muted: #5c6b78;
  --line: #e6eaf0;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(14, 42, 71, 0.10);
  --shadow-lg: 0 28px 70px rgba(14, 42, 71, 0.16);
  --radius: 14px;
  --radius-sm: 9px;
  --font-head: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .2s ease; }
ul { list-style: none; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  line-height: 1;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #c95f07; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(232,114,10,.35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14,42,71,.3); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent); color: var(--navy); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---- Section heading ---- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232,114,10,.09);
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
}
.section-title { font-size: 40px; font-weight: 800; margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 17px; }

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--navy-3);
  color: #b9c7d6;
  font-size: 13px;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 9px; padding-bottom: 9px; gap: 16px; flex-wrap: wrap; }
.topbar-links { display: flex; align-items: center; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-links a:hover { color: var(--accent); }
.topbar-links .sep { color: #3a516b; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.lang-select {
  background: transparent;
  border: 1px solid #35506b;
  color: #dbe6f1;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
}
.lang-select option { color: #111; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(14,42,71,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: flex; align-items: center; }
.logo img { height: 62px; width: auto; }

.main-nav > ul { display: flex; gap: 6px; } .main-nav ul ul { display: block; }
.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .05em;
  padding: 10px 15px;
  color: var(--navy);
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--orange); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

/* Search: magnifier icon + expandable input */
.search-wrap { position: relative; display: flex; align-items: center; }
.search-open-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 17px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.search-open-btn:hover { border-color: var(--orange); color: var(--orange); }
.search-expand {
  display: flex; align-items: center;
  overflow: hidden;
  width: 0;
  opacity: 0;
  transition: all .3s ease;
}
.search-expand.open { width: 220px; opacity: 1; margin-right: 4px; }
.search-expand.open + .search-open-btn { display: none; }
.search-expand input {
  width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg-soft);
  outline: none;
}
.search-expand input:focus { border-color: var(--orange); background: #fff; }
.search-icon-btn {
  background: transparent;
  border: none;
  color: var(--navy);
  font-size: 17px;
  cursor: pointer;
  padding: 6px;
}
.search-icon-btn:hover { color: var(--orange); }

/* Language: globe icon dropdown */
.lang-wrap { position: relative; }
.lang-icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s ease;
}
.lang-icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px); right: 0;
  min-width: 140px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .25s ease;
  z-index: 50;
}
.lang-wrap:hover .lang-dropdown, .lang-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a {
  display: block;
  padding: 11px 18px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.lang-dropdown a:last-child { border-bottom: none; }
.lang-dropdown a:hover, .lang-dropdown a.active { background: var(--bg-soft); color: var(--orange); }
.lang-dropdown a.active { font-weight: 600; }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; padding: 6px; }
.nav-toggle span { display: block; height: 3px; width: 26px; background: var(--navy); border-radius: 3px; transition: all .3s ease; }

/* ==========================================================================
   HERO / BANNER
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-3);
  color: #fff;
}
.hero-slider { position: relative; height: 860px; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,26,44,.82) 0%, rgba(8,26,44,.55) 45%, rgba(8,26,44,.15) 100%); }
.hero-content { position: relative; z-index: 3; max-width: 680px; padding: 40px 0; }
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(245,166,35,.5);
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  background: rgba(245,166,35,.08);
}
.hero-title { font-size: 56px; font-weight: 900; color: #fff; line-height: 1.12; margin-bottom: 20px; }
.hero-title .hl { color: var(--accent); }
.hero-text { font-size: 18px; color: #d3deea; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border: none; border-radius: 3px; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s ease; }
.hero-dots button.active { background: var(--accent); }
.hero-arrows { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 100%; display: flex; justify-content: space-between; padding: 0 24px; }
.hero-arrows button { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .25s ease; backdrop-filter: blur(4px); }
.hero-arrows button:hover { background: var(--orange); border-color: var(--orange); }

/* Stats strip */
.stats-strip { background: var(--navy); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 14px; color: #b9c7d6; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }

/* ==========================================================================
   OUR PRODUCTS
   ========================================================================== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s ease;
  display: block;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card .thumb { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .body { padding: 22px; text-align: center; }
.product-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.product-card p { color: var(--muted); font-size: 14px; }
.product-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.product-card .more .arrow { transition: transform .2s ease; }
.product-card:hover .more .arrow { transform: translateX(4px); }

/* ==========================================================================
   ABOUT (home)
   ========================================================================== */
.about-home { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media .img-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media .img-box img { width: 100%; height: 100%; object-fit: cover; }
.about-media .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--orange);
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(232,114,10,.4);
}
.about-media .badge small { display: block; font-weight: 500; font-size: 12px; opacity: .9; letter-spacing: .05em; }
.about-content .section-tag { margin-bottom: 14px; }
.about-content h2 { font-size: 38px; font-weight: 800; margin-bottom: 22px; }
.about-content p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0 30px; }
.about-feature { display: flex; gap: 14px; align-items: flex-start; }
.about-feature .ic {
  width: 46px; height: 46px;
  flex: none;
  background: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(14,42,71,.08);
  border: 1px solid var(--line);
}
.about-feature strong { display: block; font-family: var(--font-head); font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.about-feature span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   NEWS + FAQ (home two-column)
   ========================================================================== */
.bifold { background: #fff; }
.bifold-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.panel-head h2 { font-size: 28px; font-weight: 800; }
.more-btn { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; }
.more-btn:hover .arrow { transform: translateX(4px); }

.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-item { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; transition: all .25s ease; }
.news-item:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateX(4px); }
.news-item .thumb { width: 150px; flex: none; aspect-ratio: 16/11; border-radius: var(--radius-sm); overflow: hidden; }
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-item .info { flex: 1; }
.news-item .cat { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.news-item h3 { font-size: 16px; font-weight: 700; margin: 4px 0 6px; line-height: 1.4; }
.news-item h3 a:hover { color: var(--orange); }
.news-item .meta { font-size: 12.5px; color: var(--muted); }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-item.open { border-color: var(--orange); box-shadow: 0 8px 24px rgba(232,114,10,.12); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 20px; font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q .ic { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--bg-soft); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all .25s ease; }
.faq-item.open .faq-q .ic { background: var(--orange); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* ==========================================================================
   CONTACT SECTION (home bottom)
   ========================================================================== */
.contact-banner { background: var(--navy-3); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.contact-info h2 { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 18px; }
.contact-info h2 .hl { color: var(--accent); }
.contact-info > p { color: #b9c7d6; margin-bottom: 26px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-row .ic { width: 46px; height: 46px; flex: none; background: rgba(245,166,35,.14); border: 1px solid rgba(245,166,35,.4); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--accent); }
.contact-row strong { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #8fa6bd; margin-bottom: 2px; }
.contact-row a, .contact-row p { color: #e6eef6; font-size: 15px; line-height: 1.6; }
.contact-row a:hover { color: var(--accent); }

/* Form */
.form-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); color: var(--text); }
.form-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.form-card .form-intro { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--navy); }
.form-group label .req { color: var(--orange); }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-soft);
  outline: none;
  transition: all .22s ease;
  width: 100%;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(245,166,35,.12); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-error { color: #d0342c; font-size: 13px; display: none; }
.form-error.show { display: block; }
.form-success { display: none; background: #e8f7ee; color: #1c7c47; border: 1px solid #bfe8cf; padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-top: 18px; }
.form-success.show { display: block; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--bg-dark); color: #aebccb; }
.footer-top { padding: 64px 0 40px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-brand .logo img { height: 60px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: #8fa6bd; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: #cfdce9; font-size: 16px; transition: all .25s ease; }
.footer-social a:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 20px; letter-spacing: .05em; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--orange); }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { font-size: 14px; color: #aebccb; }
.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 14px; }
.footer-contact .ic { color: var(--orange); flex: none; margin-top: 2px; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7c8fa3; }
.footer-bottom a { color: #aebccb; }
.footer-bottom a:hover { color: var(--accent); }

/* ==========================================================================
   INNER PAGES (hero small)
   ========================================================================== */
.page-hero { background: var(--navy-3); color: #fff; position: relative; overflow: hidden; padding: 70px 0; }
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: .22; background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero--products::before { background-image: url('/static/img/banner-products.jpg'); }
.page-hero--about::before { background-image: url('/static/img/banner-about.jpg'); }
.page-hero--news::before { background-image: url('/static/img/banner-news.jpg'); }
.page-hero--contact::before { background-image: url('/static/img/banner-contact.jpg'); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.breadcrumb { font-size: 14px; color: #b9c7d6; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: #5c7489; }

/* ==========================================================================
   PRODUCT LIST PAGE
   ========================================================================== */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.cat-filter button { padding: 10px 22px; border-radius: 30px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .03em; color: var(--muted); cursor: pointer; transition: all .22s ease; }
.cat-filter button:hover { border-color: var(--orange); color: var(--orange); }
.cat-filter button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pd-gallery { position: relative; }
.pd-gallery .pd-main-img { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); box-shadow: var(--shadow-lg); position: relative; }
.pd-gallery .pd-main-img .pd-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.pd-gallery .pd-main-img .pd-slide.active { opacity: 1; z-index: 2; }
.pd-gallery .pd-main-img .pd-slide img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery .pd-main-img { aspect-ratio: 4/3; }
.pd-gallery .pd-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); border: none; cursor: pointer; z-index: 4; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: all .2s ease; }
.pd-gallery .pd-arrow:hover { background: var(--orange); color: #fff; }
.pd-gallery .pd-prev { left: 14px; }
.pd-gallery .pd-next { right: 14px; }
.pd-gallery .pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-gallery .pd-thumbs button { width: 80px; height: 60px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; cursor: pointer; padding: 0; background: var(--bg-soft); transition: all .2s ease; }
.pd-gallery .pd-thumbs button.active { border-color: var(--orange); }
.pd-gallery .pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.pd-info .lead { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.pd-features { margin-top: 8px; }
.pd-features h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.pd-features ul li { display: flex; gap: 10px; margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.pd-features ul li::before { content: '✓'; color: var(--orange); font-weight: 700; flex: none; }
.pd-cta { display: flex; flex-direction: row; gap: 14px; margin-top: 24px; align-items: center; flex-wrap: wrap; } .pd-cta .btn { white-space: nowrap; padding: 12px 26px; }
.pd-spec { margin-top: 48px; }
.pd-spec h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--navy); font-family: var(--font-head); font-weight: 600; width: 32%; background: var(--bg-soft); }

/* Hot Products */
.hot-products { margin-top: 72px; }
.hot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hot-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s ease; }
.hot-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hot-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.hot-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hot-card .body { padding: 16px; }
.hot-card h4 { font-size: 15px; font-weight: 700; }
.hot-card p { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Product list page: left-aligned */
.product-list-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.product-sidebar { position: sticky; top: 90px; }
.product-sidebar .side-box { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.product-sidebar .side-box h4 { font-size: 15px; font-weight: 800; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--orange); color: var(--navy); }
.cat-side { list-style: none; }
.cat-side li button { display: block; width: 100%; text-align: left; padding: 11px 14px; border: none; background: transparent; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 6px; transition: all .2s ease; }
.cat-side li button:hover { background: #fff; color: var(--orange); }
.cat-side li button.active { background: var(--navy); color: #fff; }
.hot-side { list-style: none; }
.hot-side li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hot-side li:last-child { border-bottom: none; padding-bottom: 0; }
.hot-side li a { display: flex; gap: 12px; align-items: center; }
.hot-side li img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
.hot-side li span { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; display: block; }
.hot-side li small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.hot-side li a:hover span { color: var(--orange); }
.product-main .products-grid { grid-template-columns: repeat(3, 1fr); }
/* ==========================================================================
   NEWS LIST / DETAIL
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .3s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-card .cat { font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.news-card h3 { font-size: 18px; font-weight: 700; margin: 10px 0 8px; line-height: 1.45; }
.news-card h3 a:hover { color: var(--orange); }
.news-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.news-card .meta { font-size: 12.5px; color: var(--muted); margin-top: 16px; display: flex; gap: 14px; }

/* Article */
.article { max-width: 860px; margin: 0 auto; }
.article h1 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.article .lead { font-size: 19px; color: var(--muted); margin-bottom: 30px; }
.article .meta-line { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article .feature-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow); }
.article p { margin-bottom: 20px; font-size: 16.5px; color: #33404c; }
.article h2 { font-size: 26px; font-weight: 800; margin: 34px 0 16px; }
.article ul { margin: 0 0 22px 22px; list-style: disc; }
.article ul li { margin-bottom: 8px; font-size: 16px; color: #33404c; }
.article .quote { border-left: 4px solid var(--orange); background: var(--bg-soft); padding: 22px 26px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--navy); margin: 26px 0; font-size: 17px; }
.article-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-nav a { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); max-width: 45%; }
.article-nav a:hover { color: var(--orange); }
.article-nav .next { text-align: right; }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-story .img-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-story .img-box img { width: 100%; object-fit: cover; }
.about-story h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.about-story p { color: var(--muted); margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: all .3s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .ic { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 14px; background: rgba(245,166,35,.1); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14px; }

/* Contact page */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: stretch; }
.contact-page-grid > div:first-child { display: flex; flex-direction: column; justify-content: center; } .info-cards { display: flex; flex-direction: column; gap: 18px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card .ic { width: 52px; height: 52px; flex: none; border-radius: 12px; background: rgba(245,166,35,.1); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.info-card p, .info-card a { color: var(--muted); font-size: 14.5px; display: block; }
.info-card a:hover { color: var(--orange); }

/* Map placeholder */
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; background: var(--bg-soft); position: relative; }

/* FAQ full page */
.faq-full { max-width: 820px; margin: 0 auto; }

/* ==========================================================================
   QUOTE MODAL (request a quote popup)
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(8,20,34,.72);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  overflow-y: auto;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-box {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 640px;
  padding: 40px 44px;
  position: relative;
  transform: translateY(20px) scale(.98);
  transition: transform .3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.show .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.modal-close:hover { background: var(--orange); color: #fff; }
.modal-box h3 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.modal-box .form-grid { gap: 16px; }
.modal-box .form-actions { justify-content: center; margin-top: 24px; }
.modal-box .btn-primary { background: var(--accent); padding: 14px 44px; }
.modal-box .btn-primary:hover { background: var(--accent-dark); }

/* About home carousel */
.about-carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-carousel .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.about-carousel .slide.active { opacity: 1; z-index: 2; }
.about-carousel .slide img { width: 100%; height: 100%; object-fit: cover; }
.about-carousel .dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.about-carousel .dots button { width: 26px; height: 4px; border: none; border-radius: 3px; background: rgba(255,255,255,.45); cursor: pointer; transition: background .25s ease; }
.about-carousel .dots button.active { background: var(--accent); }
.about-carousel .about-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--navy);
  border: none; cursor: pointer; z-index: 4;
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: all .2s ease;
}
.about-carousel .about-arrow:hover { background: var(--orange); color: #fff; }
.about-carousel .about-prev { left: 14px; }
.about-carousel .about-next { right: 14px; }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(232,114,10,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 100;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--navy); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
  .hero-slider { height: 500px; }
  .hero-title { font-size: 42px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); } .product-main .products-grid { grid-template-columns: 1fr; }
  .about-grid, .about-story, .pd-grid, .contact-page-grid, .contact-grid, .product-list-wrap { grid-template-columns: 1fr; gap: 40px; }
  .bifold-grid { grid-template-columns: 1fr; gap: 48px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .hot-grid { grid-template-columns: repeat(2, 1fr); }
  .product-sidebar { position: static; }

  .main-nav {
    position: fixed;
    top: 0; right: -320px;
    width: 300px; height: 100vh;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0,0,0,.12);
    z-index: 300;
    transition: right .3s ease;
    padding: 80px 28px 30px;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { font-size: 16px; padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(10,31,54,.55); z-index: 190; opacity: 0; visibility: hidden; transition: all .3s ease; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 30px; }
  .hero-slider { height: 460px; }
  .hero-title { font-size: 34px; }
  .hero-text { font-size: 16px; }
  .search-box { display: none; }
  .topbar-links .hide-m { display: none; }
  .about-features { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; align-items: stretch; }
  .news-item .thumb { width: 100%; aspect-ratio: 16/9; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .stat-num { font-size: 34px; }
  .product-card h3 { font-size: 16px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-slider { height: 430px; }
  .hero-title { font-size: 28px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .products-grid, .news-grid, .values-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .logo img { height: 42px; }
  .hero-arrows { display: none; }
}

/* Side contact box */
.side-contact { list-style: none; margin-bottom: 16px; }
.side-contact li { padding: 7px 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.side-contact li strong { color: var(--navy); font-weight: 600; }
.btn-block { display: block; width: 100%; text-align: center; }
/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-num, .pagination .page-prev, .pagination .page-next { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); font-family: var(--font-head); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s ease; }
.pagination .page-num:hover, .pagination .page-prev:hover, .pagination .page-next:hover { border-color: var(--orange); color: var(--orange); }
.pagination .page-num.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .page-prev.disabled, .pagination .page-next.disabled { opacity: .4; cursor: not-allowed; }
/* Nav dropdown */
.main-nav .has-dropdown { position: relative; }
.main-nav .caret { font-size: 10px; margin-left: 4px; opacity: .8; }
.main-nav .submenu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: #fff; min-width: 160px; border-radius: 8px; box-shadow: 0 12px 32px rgba(14,42,71,.18); padding: 8px 0; opacity: 0; visibility: hidden; transition: all .2s ease; list-style: none; z-index: 50; }
.main-nav .has-dropdown:hover .submenu, .main-nav .has-dropdown.open .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.main-nav .submenu li a { display: block; padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.main-nav .submenu li a:hover { background: var(--bg-soft); color: var(--orange); }
@media (max-width: 992px) {
  .main-nav .has-dropdown { position: static; }
  .main-nav .submenu { position: static !important; transform: none !important; box-shadow: none !important; opacity: 0; visibility: hidden; display: none; padding: 0 0 0 16px; background: transparent !important; }
  .main-nav .has-dropdown.open .submenu { display: block; }
}
/* Hot products carousel (detail page) */
.hot-carousel-wrap { position: relative; }
.hot-carousel { overflow: hidden; }
.hot-track { display: flex; gap: 22px; transition: transform .4s ease; }
.hot-track .hot-card { flex: 0 0 calc((100% - 44px) / 3); }
.hot-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); cursor: pointer; z-index: 3; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: all .2s ease; }
.hot-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.hot-prev { left: -19px; }
.hot-next { right: -19px; }
@media (max-width: 992px) { .hot-track .hot-card { flex: 0 0 calc((100% - 22px) / 2); } .hot-prev { left: -8px; } .hot-next { right: -8px; } }
@media (max-width: 560px) { .hot-track .hot-card { flex: 0 0 100%; } }
/* Footer logo white */
.footer-logo img { filter: brightness(0) invert(1); max-height: 60px; }
/* CMS pagination compatible */
.pagination a, .pagination li, .pagination li a {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    background: #0e2a47;
    color: #ffffff;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    margin: 0 3px;
}
.pagination span { display: none; }
.pagination a:hover, .pagination li a:hover { border-color: var(--orange); color: var(--orange); }
.pagination .active, .pagination a.active, .pagination li.active a, .pagination span.active {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 40px; flex-wrap: wrap; list-style: none; padding: 0; }
/* Hide CMS count text in pagination */
.pagination .page-total, .pagination .count, .pagination em { display: none; }

/* Post prev/next */
.post-nav { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav > div { flex: 1; max-width: 48%; }
.post-nav span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post-nav a { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--navy); }
.post-nav a:hover { color: var(--orange); }
.post-next { text-align: right; }

/* Hero taller */

/* Hide CMS page count text */
.pagination .pageinfo, .pagination .total, .pagination .count, .pagination .stats, .pagination em { display: none; }
/* Hide CMS page count text */
.pagination span, .pagination em, .pagination i, .pagination b, .pagination strong,
.pagination .pageinfo, .pagination .total, .pagination .count, .pagination .stats { display: none !important; }
/* Category links as buttons */
.cat-side li a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--navy); font-weight: 600; font-size: 14px;
  transition: all .2s ease; text-decoration: none;
}
.cat-side li a:hover { background: var(--bg-soft); color: var(--orange); }
.cat-side li a.active { background: var(--navy); color: #fff; }
/* Mobile product detail fix */
@media (max-width: 992px) {
  .pd-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .pd-gallery .pd-main-img { max-height: 280px !important; aspect-ratio: 4/3 !important; }
  .pd-gallery .pd-main-img .pd-slide img { object-fit: cover !important; }
  .pd-thumbs button { width: 60px !important; height: 45px !important; }
  .pd-info h1 { font-size: 24px !important; }
  .pd-cta { flex-direction: column !important; align-items: stretch !important; }
  .pd-cta .btn { width: 100% !important; text-align: center !important; }
  .pd-spec { max-width: 100% !important; overflow-x: auto; }
  .pd-spec table { min-width: 100%; }
  .hot-carousel-wrap { padding: 0 !important; }
  .hot-carousel { overflow: visible !important; }
  .hot-track { transform: none !important; flex-direction: column !important; }
  .hot-track .hot-card { flex: 0 0 auto !important; width: 100% !important; }
  .hot-arrow { display: none !important; }
  .product-sidebar { width: 100% !important; }
}
/* Contact info spacing */
.info-card a { display: block; margin-bottom: 10px; line-height: 1.6; }
.info-card a:last-child { margin-bottom: 0; }
/* Contact info email list */
.contact-row a { display: block; margin-bottom: 6px; line-height: 1.6; color: #b9c7d6; }
.contact-row a:last-child { margin-bottom: 0; }
/* Product detail page */
.pd-detail h3 { font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.detail-content { line-height: 1.8; color: #4a5a6a; }
.detail-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }
/* Footer phone */
.footer-contact a, .contact-row a, .contact-left a, .info-card a { white-space: nowrap; font-variant-numeric: tabular-nums; }