/* ============================================
   FootwearShoes — Deep Navy / Industrial Orange
   China Shoe & Footwear OEM/ODM Manufacturer
   ============================================ */

:root {
  --white: #ffffff;
  --bg: #f4f6f9;
  --light: #f7f9fb;
  --border: #e2e7ee;
  --text: #16202e;
  --text-light: #46566b;
  --text-muted: #8492a6;
  --accent: #f97316;
  --accent-dark: #d35400;
  --accent-light: #fff1e6;
  --black: #0d1b2e;
  --navy: #142741;
  --navy-2: #1d3557;
  --steel: #eef2f7;
  --shadow: 0 2px 12px rgba(13,27,46,0.08);
  --shadow-hover: 0 10px 32px rgba(249,115,22,0.18);
  --radius: 0;
  --transition: all 0.25s cubic-bezier(.4,0,.2,1);
  --font: "Inter", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  --max-w: 1280px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--accent-dark); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 15px;
}

ul { list-style: none; }

/* ========== TOP CONTACT BAR ========== */
.top-bar {
  background: var(--black);
  color: var(--white);
  padding: 6px 0;
  font-size: 12px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  gap: 18px;
  align-items: center;
}

.top-bar-left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  gap: 6px;
  align-items: center;
}

.top-bar-right a {
  color: var(--white);
  padding: 2px 8px;
  border-right: 1px solid rgba(255,255,255,0.4);
  font-size: 12px;
}

.top-bar-right a:last-child { border-right: none; }

.top-bar-right a:hover { opacity: 0.85; color: var(--white); }

/* ========== HEADER / NAV ========== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-logo-text {
  font-size: 22px;
  font-weight: bold;
  color: var(--accent);
  letter-spacing: 0.5px;
}

.site-logo-text small {
  display: block;
  font-size: 11px;
  color: var(--text-light);
  font-weight: normal;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 24px;
}

.lang-toggle {
  display: flex;
  gap: 4px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.lang-toggle a {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: bold;
  color: var(--text-light);
  text-transform: uppercase;
}

.lang-toggle a.active {
  background: var(--accent);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  font-size: 22px;
  color: var(--text);
  padding: 4px 12px;
  cursor: pointer;
  border-radius: var(--radius);
}

/* ========== HERO / SLIDER ========== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-slide {
  position: relative;
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--accent);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 5px;
}

/* ========== SECTION DIVIDER ========== */
.section-divider {
  text-align: center;
  padding: 24px 0;
}

.section-divider img {
  display: inline-block;
  max-width: 200px;
}

/* ========== SECTION TITLES ========== */
.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 32px;
}

.section-title span {
  color: var(--accent);
}

/* ========== ABOUT SECTION ========== */
.about {
  padding: 48px 0;
  background: var(--white);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 26px;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 14px;
  text-align: justify;
}

.about-content .read-more {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: bold;
  font-size: 13px;
  text-transform: uppercase;
}

.about-content .read-more:hover {
  background: var(--accent);
  color: var(--white);
}

/* ========== CATEGORIES ========== */
.categories {
  padding: 48px 0;
  background: var(--bg);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.category-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.category-card-img {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light);
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card-img img {
  transform: scale(1.05);
}

.category-card-title {
  display: block;
  padding: 14px 8px;
  font-size: 15px;
  font-weight: bold;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid var(--border);
}

.category-card:hover .category-card-title {
  color: var(--accent);
}

/* ========== FEATURED PRODUCTS ========== */
.products {
  padding: 48px 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--light);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-actions {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-card-actions {
  opacity: 1;
}

.product-card-actions a {
  display: block;
  padding: 4px 10px;
  background: rgba(52, 73, 94, 0.9);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 2px;
}

.product-card-actions a:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.product-card-title {
  display: block;
  padding: 12px 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  text-align: center;
  min-height: 64px;
}

.product-card-title:hover {
  color: var(--accent);
}

/* ========== ARTICLES ========== */
.articles {
  padding: 48px 0;
  background: var(--bg);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  transition: var(--transition);
}

.article-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.article-card h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card h3 a {
  color: var(--text);
}

.article-card h3 a:hover {
  color: var(--accent);
}

.article-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

.article-card .read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  padding: 48px 0;
  background: var(--white);
}

.contact-section h2 {
  font-size: 26px;
  font-weight: bold;
  color: var(--accent);
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}

.contact-item-text strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-item-text p {
  font-size: 13px;
  color: var(--text-light);
}

.contact-form {
  background: var(--bg);
  padding: 24px;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-size: 18px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 16px;
}

.form-row {
  margin-bottom: 12px;
}

.form-row label {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: bold;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  display: inline-block;
  padding: 10px 28px;
  background: var(--accent);
  color: var(--white);
  border: none;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: var(--font);
}

.btn-submit:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 30px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-lang {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-lang a {
  color: var(--white);
  padding: 4px 8px;
  font-size: 12px;
  border-right: 1px solid rgba(255,255,255,0.3);
}

.footer-lang a:last-child { border-right: none; }

.footer-lang a:hover { opacity: 0.8; color: var(--white); }

.footer-qr {
  text-align: center;
}

.footer-qr img {
  width: 80px;
  height: 80px;
  margin: 0 auto 4px;
}

.footer-qr p {
  font-size: 11px;
}

.footer-nav {
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-nav a {
  display: inline-block;
  padding: 4px 14px;
  color: var(--white);
  font-size: 13px;
  border-right: 1px solid rgba(255,255,255,0.3);
}

.footer-nav a:last-child { border-right: none; }

.footer-nav a:hover { opacity: 0.8; color: var(--white); }

.footer-links {
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
}

.footer-links a {
  color: var(--white);
  padding: 0 10px;
  border-right: 1px solid rgba(255,255,255,0.3);
}

.footer-links a:last-child { border-right: none; }

.footer-copyright {
  padding: 14px 0;
  text-align: center;
  font-size: 12px;
  background: rgba(0,0,0,0.15);
}

/* ========== INNER PAGE HERO ========== */
.page-hero {
  position: relative;
  padding: 56px 0 48px;
  background:
    linear-gradient(135deg, rgba(13,27,46,0.97) 0%, rgba(20,39,65,0.95) 60%, rgba(29,53,87,0.92) 100%),
    var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 40%, transparent 40%);
}

.page-hero h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.page-hero .page-hero-lead {
  max-width: 760px;
  margin: 0 auto 6px;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.8;
}

.page-hero .btn { margin-top: 18px; }

.breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb .sep {
  margin: 0 6px;
  color: rgba(255,255,255,0.5);
}

/* ========== CONTENT BLOCK ========== */
.content-section {
  padding: 40px 0;
}

.content-section h2 {
  font-size: 20px;
  font-weight: bold;
  color: var(--accent);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
}

.content-section h3 {
  font-size: 16px;
  font-weight: bold;
  color: var(--text);
  margin: 20px 0 10px;
}

.content-section p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 12px;
  text-align: justify;
}

.content-section ul {
  padding-left: 0;
  margin-bottom: 16px;
}

.content-section ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.content-section ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: bold;
}

/* FAQ Accordion */
.faq-list {
  max-width: 880px;
  margin: 24px 0;
}
.faq-list > h2 {
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.faq-item[open] {
  box-shadow: 0 2px 8px rgba(52, 73, 94, 0.10);
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary:hover { background: var(--light); }
.faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  line-height: 1.7;
  color: #444;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}

.spec-table th {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: bold;
  width: 30%;
}

.spec-table tr:nth-child(even) td {
  background: var(--light);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .categories-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Nav collapses earlier (1200px) — prevents the wider menu from squeezing */
@media (max-width: 1200px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 8px 0;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
    z-index: 99;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    width: 100%;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a::after { display: none; }

  .lang-toggle {
    margin: 8px 20px 0;
    padding-left: 0;
    border-left: none;
  }

  .mobile-toggle { display: block; }
}

@media (max-width: 768px) {
  .top-bar-left { display: none; }

  .site-logo-text { font-size: 18px; }
  .site-logo img { height: 40px; }

  .hero-slide img { max-height: 280px; }

  .categories-grid,
  .products-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .footer-top { flex-direction: column; text-align: center; }

  .footer-nav a,
  .footer-links a {
    display: inline-block;
    padding: 4px 8px;
    font-size: 12px;
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========== HERO (Footwear Factory) ========== */
.hero-trendy {
  position: relative;
  height: 80vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--black);
}
.hero-trendy .hero-bg {
  position: absolute;
  inset: 0;
}
.hero-trendy .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}
.hero-trendy .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,46,.88) 0%, rgba(13,27,46,.48) 55%, rgba(249,115,22,.32) 100%);
  display: flex;
  align-items: center;
}
.hero-trendy .hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  color: var(--white);
  width: 100%;
}
.hero-trendy h1 {
  font-size: clamp(34px,6vw,72px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin: 0 0 18px;
  font-weight: 900;
}
.hero-trendy h1 .accent { color: var(--accent); }
.hero-trendy p {
  font-size: clamp(15px,1.6vw,20px);
  max-width: 620px;
  margin: 0 0 28px;
  opacity: .9;
  line-height: 1.6;
}
.hero-trendy .hero-cta {
  display: inline-block;
  padding: 16px 36px;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 14px;
  transition: var(--transition);
}
.hero-trendy .hero-cta:hover {
  background: var(--white);
  color: var(--black);
}
.hero-trendy .hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-trendy .hero-stat strong {
  font-size: 30px;
  color: var(--accent);
  display: block;
  font-weight: 900;
}
.hero-trendy .hero-stat span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .8;
}

@media (max-width: 768px) {
  .hero-trendy { height: auto; min-height: calc(100dvh - 115px); }
  .hero-trendy .hero-overlay { position: relative; z-index: 1; min-height: calc(100dvh - 115px); padding: 36px 0; }
  .hero-trendy .hero-stats { gap: 20px; margin-top: 24px; }
  .hero-trendy .hero-stat strong { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ========== NAV DROPDOWN (Industry Hub) — additive styles ========== */
.nav-dropdown {
  position: relative;
}

.main-nav .dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 110;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown-menu a {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: normal;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid var(--accent-light);
}

.main-nav .dropdown-menu a:last-child {
  border-bottom: none;
}

.main-nav .dropdown-menu a:hover,
.main-nav .dropdown-menu a.active {
  background: var(--accent-light);
  color: var(--accent);
}

.main-nav .dropdown-menu a::after {
  display: none;
}

/* Mobile dropdown — static submenu inside collapsed mobile nav */
@media (max-width: 1200px) {
  .main-nav .nav-dropdown { width: 100%; }

  .main-nav .dropdown-toggle {
    width: 100%;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    background: var(--light);
  }

  .main-nav .dropdown-menu a {
    padding-left: 36px;
    border-bottom: 1px solid var(--border);
  }
}

/* ========== Factory intro images beside homepage H1 (symmetric) ========== */
.factory-intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.factory-intro-img {
  width: 250px;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  border: 3px solid var(--accent-light);
  box-shadow: var(--shadow-hover);
  background: var(--light);
  flex-shrink: 0;
}

.factory-intro-row h1 {
  flex: 1;
  text-align: center;
  margin: 0 !important; /* overrides inline margin-bottom for vertical centering */
}

@media (max-width: 1100px) {
  .factory-intro-img { width: 180px; height: 136px; }
  .factory-intro-row { gap: 16px; }
}

@media (max-width: 768px) {
  .factory-intro-row {
    flex-direction: column;
    gap: 14px;
  }
  .factory-intro-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================
   SHOE FACTORY B2B COMPONENTS
   Deep navy / industrial orange — footwear OEM/ODM site
   ========================================================== */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 2px solid var(--accent);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.2;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-ghost:hover { background: var(--black); border-color: var(--black); color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--black);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}
.stat-item span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.72);
}

/* ---------- Feature cards (services / why us) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px 26px;
  transition: var(--transition);
  position: relative;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light);
  border-radius: 4px;
  margin-bottom: 18px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 32px;
  position: relative;
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 6px;
}
.process-step .step-num {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
}
.process-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}
.process-steps-4 .process-grid { grid-template-columns: repeat(4, 1fr); }
.process-steps-6 .process-grid { grid-template-columns: repeat(6, 1fr); }

/* ---------- Split media + text ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin: 36px 0;
}
.split.reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.split-body h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 14px;
  line-height: 1.3;
}
.split-body h2 .accent { color: var(--accent); }
.split-body p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 14px;
}
.split-body ul { margin: 12px 0 18px; }
.split-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 14px;
}
.split-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 15px; height: 8px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(13,27,46,0.96), rgba(20,39,65,0.92)),
    var(--black);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-band p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ---------- Certification badges ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.cert-badge {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  padding: 24px 12px;
  text-align: center;
}
.cert-badge strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.5px;
}
.cert-badge span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.gallery-grid a,
.gallery-grid figure { margin: 0; display: block; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-grid a:hover img { transform: scale(1.03); box-shadow: var(--shadow); }
.gallery-grid figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Tag chips ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.tag {
  display: inline-block;
  padding: 7px 16px;
  background: var(--steel);
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}
.tag::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* ---------- Sub navigation (product / service hubs) ---------- */
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 6px;
}
.sub-nav a {
  padding: 9px 18px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 2px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.sub-nav a:hover,
.sub-nav a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- Prose (blog articles) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose .article-meta {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
}
.prose .article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 28px;
}
.prose h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  margin: 32px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.prose h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 10px;
}
.prose p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose ul li, .prose ol li {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 8px;
}
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose strong { color: var(--black); }
.prose img { border-radius: 4px; margin: 18px 0; }
.article-cta {
  margin-top: 36px;
  padding: 32px;
  background: var(--accent-light);
  border: 1px solid #fbd9bd;
  border-radius: 4px;
  text-align: center;
}
.article-cta h3 { margin: 0 0 8px; font-size: 19px; color: var(--black); }
.article-cta p { margin-bottom: 18px; color: var(--text-light); }

/* ---------- Blog index ---------- */
.blog-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card .blog-card-body { padding: 22px; }
.blog-card .blog-card-date { font-size: 12px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--black); margin: 8px 0 10px; line-height: 1.45; }
.blog-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin: 0; }

/* ---------- Contact extras ---------- */
.form-row label .req { color: var(--accent); }
.form-row input[type="file"] {
  padding: 10px;
  background: var(--light);
  font-size: 13px;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.upload-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

/* ---------- Table wrapper ---------- */
.table-wrap { overflow-x: auto; margin: 18px 0; }

/* ---------- Section on tinted bg ---------- */
.section-tinted { background: var(--steel); }
.section-dark { background: var(--black); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section-pad { padding: 60px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .feature-grid,
  .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid,
  .process-steps-4 .process-grid,
  .process-steps-6 .process-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-media { order: 0; }
}
@media (max-width: 600px) {
  .feature-grid,
  .feature-grid.cols-2,
  .feature-grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid-2 { grid-template-columns: 1fr; }
  .stat-item strong { font-size: 32px; }
  .cta-band h2 { font-size: 22px; }
  .page-hero h1 { font-size: 22px; }
}
