/*
Theme Name: QiPrinting
Theme URI: https://qiprinting.com
Author: QiPrinting Team
Author URI: https://qiprinting.com
Description: Custom WordPress theme for QiPrinting — Your Trusted Book Printing Factory in China. Professional B2B printing industry website with premium design.
Version: 1.1.0
License: GPL v2 or later
Text Domain: qiprinting
*/

/* ============================================
   CSS Custom Properties (Design Tokens)
   ============================================ */
:root {
  --color-navy: #0a1628;
  --color-navy-light: #0f1f38;
  --color-navy-lighter: #152544;
  --color-gold: #d4a853;
  --color-gold-light: #e0bd6a;
  --color-gold-dark: #b8923a;
  --color-gold-glow: rgba(212, 168, 83, 0.25);
  --color-gold-subtle: rgba(212, 168, 83, 0.08);
  --color-bg: #f8f9fb;
  --color-bg-alt: #eef1f5;
  --color-border: #e4e8ee;
  --color-border-light: #eef1f5;
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-text-muted: #8899aa;
  --color-white: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.04);
  --shadow-md: 0 4px 16px rgba(10, 22, 40, 0.06);
  --shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.08);
  --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.12);
  --shadow-gold: 0 8px 30px rgba(212, 168, 83, 0.18);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   Geometric Background Patterns (Utility)
   ============================================ */
.geo-dots {
  position: absolute;
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, rgba(212,168,83,0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}
.geo-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.03) 49.5%, rgba(255,255,255,0.03) 50.5%, transparent 50.5%);
  background-size: 100% 60px;
  pointer-events: none;
  z-index: 0;
}
.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,168,83,0.1);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   Header
   ============================================ */
.header {
  background: linear-gradient(180deg, var(--color-navy-lighter) 0%, var(--color-navy) 100%);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(212,168,83,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 24px;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  position: relative;
}
.logo a {
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo a::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  margin-right: 4px;
  box-shadow: 0 0 12px var(--color-gold-glow);
}
.logo span { color: var(--color-gold); }
#navMenu {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
}
#navMenu li { list-style: none; }
#navMenu a {
  color: #b0bec5;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}
#navMenu a:hover {
  color: var(--color-gold);
  background: rgba(212,168,83,0.06);
}
#navMenu .current-menu-item a {
  color: var(--color-gold);
  background: rgba(212,168,83,0.1);
}
.header-contact {
  font-size: 12.5px;
  color: #7b8a97;
  display: flex;
  gap: 18px;
  white-space: nowrap;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.hamburger:hover { color: var(--color-gold); background: rgba(255,255,255,0.04); }

/* Header right */
.header-actions { display: flex; align-items: center; gap: 12px; }
.search-wrap { display: flex; align-items: center; position: relative; }
.search-input {
  width: 0; opacity: 0;
  padding: 0; border: none;
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
  font-size: 13px;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  outline: none;
  font-family: var(--font-sans);
}
.search-input.open {
  width: 190px; opacity: 1;
  padding: 9px 40px 9px 16px;
  border: 1px solid rgba(212,168,83,0.2);
  background: rgba(255,255,255,0.08);
}
.search-input::placeholder { color: #6b7d8e; }
.search-toggle {
  background: none; border: none;
  color: #b0bec5; font-size: 16px;
  cursor: pointer; padding: 8px;
  border-radius: 50%;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.search-toggle:hover { color: var(--color-gold); background: rgba(255,255,255,0.05); }
.search-submit {
  display: none; position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--color-gold); font-size: 14px;
  cursor: pointer;
}
.search-submit.show { display: block; }
.social-icon {
  color: #b0bec5; text-decoration: none;
  font-size: 18px;
  transition: all var(--transition-fast);
  display: flex; align-items: center;
  padding: 6px; border-radius: 50%;
}
.social-icon:hover { color: var(--color-gold); background: rgba(255,255,255,0.05); }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================
   WordPress Content Styles
   ============================================ */
.entry-content {
  line-height: 1.8; font-size: 16px; color: var(--color-text);
}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6 {
  color: var(--color-navy);
  margin: 2em 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.entry-content h1 { font-size: 38px; }
.entry-content h2 { font-size: 30px; border-bottom: 1px solid var(--color-border-light); padding-bottom: 12px; }
.entry-content h3 { font-size: 24px; }
.entry-content h4 { font-size: 20px; }
.entry-content p { margin-bottom: 1.3em; }
.entry-content ul,.entry-content ol { margin: 0 0 1.3em 1.5em; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content a { color: var(--color-gold); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--color-gold-dark); }
.entry-content blockquote {
  border-left: 4px solid var(--color-gold);
  padding: 20px 28px;
  margin: 2em 0;
  background: linear-gradient(135deg, #f8f9fb 0%, #f0f3f7 100%);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: #4a5568;
  position: relative;
}
.entry-content blockquote::before {
  content: '"';
  position: absolute;
  top: -10px; left: 14px;
  font-size: 48px; color: var(--color-gold);
  opacity: 0.3; line-height: 1;
  font-family: Georgia, serif;
}
.entry-content img {
  max-width: 100%; height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.entry-content table {
  width: 100%; border-collapse: collapse;
  margin: 2em 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.entry-content th,.entry-content td {
  border: 1px solid var(--color-border-light);
  padding: 14px 20px; text-align: left;
}
.entry-content th {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
  color: var(--color-white);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.entry-content tr:nth-child(even) td { background: rgba(0,0,0,0.01); }

/* WordPress alignment */
.alignleft { float: left; margin: 0 28px 28px 0; }
.alignright { float: right; margin: 0 0 28px 28px; }
.aligncenter { display: block; margin: 0 auto 28px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--color-text-muted); text-align: center; margin-top: 10px; }

/* ============================================
   Hero (Front Page)
   ============================================ */
.hero {
  background: linear-gradient(160deg, #060e1a 0%, #0a1628 25%, #0d1d3a 50%, #0a1628 75%, #060e1a 100%);
  color: var(--color-white);
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Geometric decorations */
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -8%;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.07) 0%, transparent 70%);
  animation: heroPulse 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -25%; left: -5%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.04) 0%, transparent 65%);
  animation: heroPulse 10s ease-in-out 3s infinite;
}
.hero-dots {
  position: absolute;
  top: 15%; right: 5%;
  width: 160px; height: 160px;
  background-image: radial-gradient(circle, rgba(212,168,83,0.1) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}
.hero-dots-2 {
  position: absolute;
  bottom: 20%; left: 8%;
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
  z-index: 0;
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 860px; margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(212,168,83,0.1);
  border: 1px solid rgba(212,168,83,0.2);
  color: var(--color-gold);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
}
.hero h1 .gold {
  color: var(--color-gold);
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.subtitle {
  font-size: 18px;
  color: #8899aa;
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  padding: 15px 36px;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: var(--color-navy);
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--color-gold-subtle);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(5px);
}
.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(212,168,83,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ============================================
   Stats Bar
   ============================================ */
.stats {
  background: transparent;
  padding: 0;
  margin-top: -36px;
  position: relative;
  z-index: 10;
}
.stats-bar {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(135deg, var(--color-navy), #0f1d35);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  margin: 0;
  border: 1px solid rgba(212,168,83,0.12);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.3), transparent);
}
.stat-item {
  text-align: center;
  color: var(--color-white);
  position: relative;
  z-index: 1;
  padding: 0 20px;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 40px; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,168,83,0.15), transparent);
}
.stat-number {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-gold);
  display: block;
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 12.5px;
  color: #7b8a97;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ============================================
   Section Common
   ============================================ */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 14px;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.section-header p {
  font-size: 16px;
  color: #5a6b7a;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-light), var(--color-gold));
  margin: 18px auto;
  border-radius: 2px;
}

/* ============================================
   Services — 6 cards, 3×2 grid
   ============================================ */
.services { background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 100%); position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,168,83,0.2);
}
.service-card:hover::before { opacity: 1; }
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212,168,83,0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.service-card:hover::after { opacity: 1; }
.service-icon-wrap {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(10,22,40,0.04), rgba(10,22,40,0.02));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  position: relative;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-smooth);
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--color-gold-subtle), transparent);
  border-color: rgba(212,168,83,0.2);
  box-shadow: 0 0 30px var(--color-gold-subtle);
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.service-card p {
  font-size: 14px;
  color: #5a6b7a;
  line-height: 1.7;
}

/* ============================================
   Products — 5 category cards (Homepage)
   ============================================ */
.products-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.homepage-pcat {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 20px 28px;
  text-align: center;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.homepage-pcat::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.homepage-pcat:hover {
  border-color: rgba(212,168,83,0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.homepage-pcat:hover::before { opacity: 1; }
.product-icon-wrap {
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(10,22,40,0.15);
  transition: all var(--transition-smooth);
  position: relative;
}
.homepage-pcat:hover .product-icon-wrap {
  box-shadow: 0 4px 24px var(--color-gold-glow);
  transform: scale(1.05);
}
.homepage-pcat h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.homepage-pcat .product-desc {
  font-size: 13px;
  color: #5a6b7a;
  margin-bottom: 16px;
  line-height: 1.5;
  min-height: 40px;
}
.homepage-pcat .product-arrow {
  color: var(--color-gold);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}
.homepage-pcat:hover .product-arrow { gap: 8px; }

/* ============================================
   Trust / Certifications
   ============================================ */
.trust { background: var(--color-white); }
.trust-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.trust-item {
  text-align: center;
  transition: all var(--transition-smooth);
  opacity: 0.75;
}
.trust-item:hover { opacity: 1; transform: translateY(-4px); }
.trust-badge {
  width: 88px; height: 88px;
  margin: 0 auto 14px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-navy);
  background: linear-gradient(135deg, #fefcf7, #f8f4e8);
  box-shadow: 0 0 0 4px rgba(212,168,83,0.05);
  transition: all var(--transition-smooth);
  letter-spacing: -0.3px;
}
.trust-item:hover .trust-badge {
  box-shadow: 0 0 0 12px var(--color-gold-subtle), 0 4px 20px var(--color-gold-subtle);
}
.trust-name {
  font-size: 12px;
  color: #5a6b7a;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  max-width: 110px;
}
.trust-clients {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-light);
}
.client-logo {
  font-size: 15px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.client-logo:hover { color: var(--color-navy); }

/* ============================================
   Blog Cards
   ============================================ */
.blog { background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 100%); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,168,83,0.2);
}
.blog-img {
  height: 200px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-lighter) 50%, var(--color-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}
.blog-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,22,40,0.4));
}
.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-body { padding: 22px 24px 26px; }
.blog-date {
  font-size: 11.5px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 500;
}
.blog-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}
.blog-body h4 a { color: var(--color-navy); text-decoration: none; transition: color var(--transition-fast); }
.blog-body h4 a:hover { color: var(--color-gold); }
.blog-body p {
  font-size: 13.5px;
  color: #5a6b7a;
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-body a.read-more {
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
  letter-spacing: 0.2px;
}
.blog-body a.read-more:hover { gap: 8px; text-decoration: none; }

/* ============================================
   CTA
   ============================================ */
.cta {
  background: linear-gradient(160deg, #060e1a 0%, var(--color-navy) 40%, var(--color-navy-lighter) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -40%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.06) 0%, transparent 70%);
}
.cta h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
  position: relative; z-index: 1;
}
.cta p {
  font-size: 16px;
  color: #8899aa;
  margin-bottom: 36px;
  position: relative; z-index: 1;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta .btn { position: relative; z-index: 1; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: linear-gradient(180deg, #050d17 0%, #040a12 100%);
  color: #7b8a97;
  padding: 72px 0 40px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.2), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 56px;
}
.footer h4 {
  color: var(--color-gold);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 700;
}
.footer p { font-size: 13px; line-height: 1.9; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { list-style: none; margin-bottom: 8px; }
.footer ul li a {
  color: #7b8a97;
  text-decoration: none;
  font-size: 13px;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer ul li a::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  opacity: 0;
  transition: all var(--transition-fast);
}
.footer ul li a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}
.footer ul li a:hover::before { opacity: 1; }
.footer .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  line-height: 1.9;
  font-size: 13px;
}
.footer .contact-icon {
  width: 20px; text-align: center;
  flex-shrink: 0;
  color: var(--color-gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #4a5568;
}
.footer-bottom a { color: var(--color-gold); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* Back to top */
.back-top { text-align: center; margin-top: 12px; }
.back-top a {
  color: var(--color-gold);
  font-size: 12px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}
.back-top a:hover { color: var(--color-gold-light); text-decoration: none; }

/* ============================================
   Inner Pages — Page Header
   ============================================ */
.page-header {
  background: linear-gradient(160deg, var(--color-navy) 0%, #0d1d3a 60%, var(--color-navy-lighter) 100%);
  color: var(--color-white);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.05) 0%, transparent 70%);
}
.page-header h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -1px;
  position: relative; z-index: 1;
}
.breadcrumb {
  font-size: 13px;
  color: #7b8a97;
  margin-top: 12px;
  position: relative; z-index: 1;
}
.breadcrumb a { color: var(--color-gold); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--color-gold-light); text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; color: #4a5568; }

.page-content { padding: 72px 0; }
.page-content .container { max-width: 860px; }

/* ============================================
   Single Post
   ============================================ */
.single-post-content { padding: 72px 0; }
.single-post-content .container { max-width: 860px; }
.post-meta {
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.post-meta span { margin-right: 22px; }
.post-meta a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 500;
  padding: 3px 12px;
  background: var(--color-gold-subtle);
  border-radius: var(--radius-full);
  display: inline-block;
  transition: all var(--transition-fast);
}
.post-meta a:hover { background: rgba(212,168,83,0.15); }
.post-featured-image {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.post-featured-image img { width: 100%; height: auto; display: block; }
.post-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.post-tags a {
  display: inline-block;
  background: #f0f2f5;
  color: #4a5568;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.post-tags a:hover { background: var(--color-gold); color: var(--color-white); }

/* Comments */
.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--color-border-light); }
.comments-title { font-size: 22px; color: var(--color-navy); margin-bottom: 28px; font-weight: 700; }
.comment-list { list-style: none; padding: 0; }
.comment-list li { list-style: none; }
.comment-body { padding: 24px 0; border-bottom: 1px solid var(--color-border-light); }
.comment-author { font-weight: 700; color: var(--color-navy); }
.comment-meta { font-size: 12px; color: var(--color-text-muted); margin-bottom: 10px; }
.comment-content { font-size: 14px; color: #4a5568; line-height: 1.7; }

/* ============================================
   Archive / Blog listing
   ============================================ */
.archive-content {
  padding: 72px 0;
  background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 100%);
}
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.archive-description {
  font-size: 16px;
  color: #8899aa;
  max-width: 700px;
  margin: 14px auto 0;
  line-height: 1.7;
  position: relative; z-index: 1;
}
.post-category {
  font-size: 10.5px;
  color: var(--color-gold);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Pagination */
.pagination,
.pagination .nav-links,
.post-navigation .nav-links {
  text-align: center;
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px; height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
  background: var(--color-white);
}
.pagination .page-numbers.current,
.nav-links .page-numbers.current {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  color: var(--color-gold);
  border-color: var(--color-navy);
  box-shadow: 0 4px 16px rgba(10,22,40,0.2);
}
.pagination .page-numbers:hover:not(.current),
.nav-links .page-numbers:hover:not(.current) {
  border-color: var(--color-gold);
  color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   404 Page
   ============================================ */
.page-404 {
  padding: 140px 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.page-404 h1 {
  font-size: 100px;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: -4px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-404 h2 {
  font-size: 28px;
  color: var(--color-navy);
  margin: 20px 0 12px;
  font-weight: 700;
}
.page-404 p { color: #5a6b7a; margin-bottom: 36px; font-size: 16px; }

/* Search */
.search-highlight { background: #fff3cd; padding: 2px 4px; border-radius: 2px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden;
  padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}

/* ============================================
   Product Archive & Category — Filter Navigation
   ============================================ */
.product-category-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.cat-filter-btn {
  display: inline-block;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #5a6b7a;
  text-decoration: none;
  background: transparent;
  transition: all var(--transition-fast);
  letter-spacing: 0.2px;
}
.cat-filter-btn:hover { color: var(--color-gold); background: var(--color-gold-subtle); }
.cat-filter-btn.active {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  color: var(--color-gold);
  box-shadow: 0 4px 16px rgba(10,22,40,0.15);
}

/* Archive count */
.archive-count {
  text-align: center;
  font-size: 13.5px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  font-weight: 500;
}

/* ============================================
   Product Card Grid (archive & category)
   ============================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(212,168,83,0.2);
}
.product-card-link { text-decoration: none; color: inherit; display: block; }
.product-card-img {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf1 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,22,40,0.06) 100%);
  pointer-events: none;
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-no-img {
  color: #b0bec5;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.product-no-img::before {
  content: '\1F4D6';
  font-size: 48px;
  opacity: 0.4;
}
.product-card-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(8px);
  color: var(--color-gold);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 2;
}
.product-card-body { padding: 20px 22px 24px; }
.product-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.product-card-body p {
  font-size: 13px;
  color: #5a6b7a;
  line-height: 1.6;
  margin-bottom: 14px;
}
.product-card-cta {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}
.product-card:hover .product-card-cta { gap: 8px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 80px 0;
}
.empty-state p {
  font-size: 18px;
  color: #5a6b7a;
  margin-bottom: 24px;
}
.empty-state::before {
  content: '';
  display: block;
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border: 2px dashed var(--color-border);
  border-radius: 50%;
}

/* ============================================
   Product Detail Page (single-book_product.php)
   ============================================ */
.single-product-content { padding: 72px 0; }
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.product-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212,168,83,0.1);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
}
.product-gallery img { width: 100%; height: auto; display: block; }
.product-body { display: flex; flex-direction: column; gap: 24px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.product-category-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  color: var(--color-gold);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 2px 12px rgba(10,22,40,0.15);
}
.product-tag {
  display: inline-block;
  background: #f0f2f5;
  color: #4a5568;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--color-border-light);
}
.product-excerpt {
  background: linear-gradient(135deg, #f8f9fb, #f0f3f7);
  border-left: 4px solid var(--color-gold);
  padding: 22px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 16px;
  color: #4a5568;
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}
.product-excerpt p { margin: 0; }

/* Product CTA */
.product-cta {
  background: linear-gradient(160deg, var(--color-navy), var(--color-navy-lighter));
  color: var(--color-white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.product-cta::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,83,0.1) 0%, transparent 70%);
}
.product-cta h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-gold);
  font-weight: 700;
  position: relative; z-index: 1;
}
.product-cta p {
  font-size: 14px;
  color: #8899aa;
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-buttons .btn-outline {
  border-color: rgba(255,255,255,0.2);
  color: var(--color-white);
}
.cta-buttons .btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Product Specs */
.product-specs { margin-top: 8px; }
.product-specs h3 {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 20px;
  font-weight: 700;
}
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.spec-item {
  background: linear-gradient(135deg, #f8f9fb, #f2f4f8);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-fast);
}
.spec-item:hover {
  border-color: rgba(212,168,83,0.15);
  box-shadow: var(--shadow-sm);
}
.spec-label {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  font-weight: 600;
}
.spec-value {
  display: block;
  font-size: 14.5px;
  color: var(--color-navy);
  font-weight: 600;
}

/* Related Products */
.related-products {
  margin-top: 72px;
  padding-top: 52px;
  border-top: 1px solid var(--color-border-light);
}
.related-products h3 {
  font-size: 24px;
  color: var(--color-navy);
  margin-bottom: 28px;
  font-weight: 700;
}
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212,168,83,0.2);
}
.related-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.related-card h4 { padding: 16px 18px; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.related-card h4 a { color: var(--color-navy); text-decoration: none; transition: color var(--transition-fast); }
.related-card h4 a:hover { color: var(--color-gold); }

/* ============================================
   Contact Us Page
   ============================================ */
.contact-section { padding: 80px 0; background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 100%); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 32px; font-weight: 800; color: var(--color-navy); margin-bottom: 16px; letter-spacing: -0.5px; }
.contact-info > p { font-size: 15px; color: #5a6b7a; line-height: 1.7; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  color: var(--color-gold);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-detail-item h4 { font-size: 14px; font-weight: 700; color: var(--color-navy); margin-bottom: 4px; }
.contact-detail-item p { font-size: 14px; color: #5a6b7a; line-height: 1.5; }
.contact-detail-item a { color: var(--color-gold); text-decoration: none; }
.contact-detail-item a:hover { text-decoration: underline; }
.contact-hours { background: var(--color-white); padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); }
.contact-hours h4 { font-size: 14px; font-weight: 700; color: var(--color-navy); margin-bottom: 10px; }
.contact-hours p { font-size: 13.5px; color: #5a6b7a; line-height: 1.6; margin-bottom: 4px; }

/* Contact Form */
.contact-form-wrap { background: var(--color-white); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); box-shadow: var(--shadow-md); }
.contact-form-wrap h3 { font-size: 22px; font-weight: 700; color: var(--color-navy); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--color-navy); margin-bottom: 8px; }
.form-group .required { color: #e53e3e; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px; font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  transition: all var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-subtle);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.btn-full { width: 100%; }
.form-note { text-align: center; font-size: 12.5px; color: var(--color-text-muted); margin-top: 16px; }

/* Map Section */
.map-section { padding: 60px 0 80px; background: var(--color-white); }
.map-placeholder {
  background: linear-gradient(135deg, #f8f9fb, #f2f4f8);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
}
.map-icon { font-size: 48px; margin-bottom: 16px; }
.map-placeholder h3 { font-size: 20px; font-weight: 700; color: var(--color-navy); margin-bottom: 8px; }
.map-placeholder p { font-size: 14px; color: #5a6b7a; margin-bottom: 20px; }
.btn-outline-dark {
  background: transparent; color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: 14px; font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all var(--transition-fast);
}
.btn-outline-dark:hover { background: var(--color-navy); color: var(--color-white); }

/* ============================================
   About Us Page
   ============================================ */
.about-story { padding: 80px 0; background: var(--color-white); }
.about-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-img-placeholder {
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: var(--color-white);
  min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder span { font-size: 80px; margin-bottom: 16px; }
.about-img-placeholder p { font-size: 16px; font-weight: 600; color: var(--color-gold); }
.about-text .section-label { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--color-gold); margin-bottom: 14px; }
.about-text h2 { font-size: 34px; font-weight: 800; color: var(--color-navy); margin-bottom: 20px; letter-spacing: -0.5px; line-height: 1.2; }
.about-text p { font-size: 15px; color: #5a6b7a; line-height: 1.8; margin-bottom: 16px; }
.about-stats-inline { display: flex; gap: 40px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--color-border-light); }
.about-stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--color-gold); letter-spacing: -1px; }
.about-stat-label { font-size: 12.5px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Mission & Values */
.about-mission { padding: 80px 0; background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 100%); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--color-white); padding: 36px 28px; border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); text-align: center; transition: all var(--transition-smooth); box-shadow: var(--shadow-sm); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: rgba(212,168,83,0.2); }
.value-icon { font-size: 40px; margin-bottom: 16px; }
.value-card h3 { font-size: 16px; font-weight: 700; color: var(--color-navy); margin-bottom: 10px; }
.value-card p { font-size: 13.5px; color: #5a6b7a; line-height: 1.6; }

/* Timeline */
.about-timeline { padding: 80px 0; background: var(--color-white); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
  transform: translateX(-50%);
}
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-item:nth-child(odd) .timeline-content { padding-right: 40px; padding-left: 0; }
.timeline-item:nth-child(even) .timeline-content { padding-left: 40px; }
.timeline-year {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  color: var(--color-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(10,22,40,0.2);
  border: 3px solid var(--color-white);
  z-index: 1;
}
.timeline-content { flex: 1; padding-left: 40px; }
.timeline-content h4 { font-size: 17px; font-weight: 700; color: var(--color-navy); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: #5a6b7a; line-height: 1.6; }

/* Team */
.about-team { padding: 80px 0; background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 100%); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { background: var(--color-white); padding: 36px 24px; border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); text-align: center; transition: all var(--transition-smooth); box-shadow: var(--shadow-sm); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.team-avatar { font-size: 56px; margin-bottom: 16px; }
.team-card h4 { font-size: 16px; font-weight: 700; color: var(--color-navy); margin-bottom: 4px; }
.team-role { display: block; font-size: 12.5px; color: var(--color-gold); font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.team-card p { font-size: 13px; color: #5a6b7a; line-height: 1.6; }

/* Certifications */
.about-certs { padding: 80px 0; background: var(--color-white); }
.certs-grid { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.cert-item { text-align: center; transition: all var(--transition-smooth); }
.cert-item:hover { transform: translateY(-4px); }
.cert-badge {
  width: 80px; height: 80px;
  margin: 0 auto 12px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--color-navy);
  background: linear-gradient(135deg, #fefcf7, #f8f4e8);
  box-shadow: 0 0 0 4px rgba(212,168,83,0.05);
}
.cert-item h4 { font-size: 14px; font-weight: 700; color: var(--color-navy); margin-bottom: 2px; }
.cert-item p { font-size: 12px; color: var(--color-text-muted); }

/* ============================================
   Blog Page (with sidebar)
   ============================================ */
.blog-page-section { padding: 72px 0; background: linear-gradient(180deg, #f8f9fb 0%, #f2f4f8 100%); }
.blog-page-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; }
.blog-page-grid { display: flex; flex-direction: column; gap: 28px; }
.blog-page-card {
  display: grid; grid-template-columns: 280px 1fr;
  background: var(--color-white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--color-border-light);
  transition: all var(--transition-smooth); box-shadow: var(--shadow-sm);
}
.blog-page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(212,168,83,0.2); }
.blog-page-img { display: block; height: 100%; min-height: 200px; overflow: hidden; position: relative; }
.blog-page-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.blog-page-card:hover .blog-page-img img { transform: scale(1.04); }
.blog-img-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
}
.blog-img-fallback span { font-size: 48px; }
.blog-page-body { padding: 28px 32px; }
.blog-page-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.blog-page-date { font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.blog-page-cat { font-size: 11px; color: var(--color-gold); text-transform: uppercase; font-weight: 700; letter-spacing: 0.8px; background: var(--color-gold-subtle); padding: 3px 10px; border-radius: var(--radius-full); }
.blog-page-body h3 { font-size: 20px; font-weight: 700; color: var(--color-navy); margin-bottom: 10px; line-height: 1.35; letter-spacing: -0.3px; }
.blog-page-body h3 a { color: var(--color-navy); text-decoration: none; transition: color var(--transition-fast); }
.blog-page-body h3 a:hover { color: var(--color-gold); }
.blog-page-body > p { font-size: 14px; color: #5a6b7a; line-height: 1.7; margin-bottom: 16px; }

/* Blog Sidebar */
.blog-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget { background: var(--color-white); padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--color-border-light); box-shadow: var(--shadow-sm); }
.sidebar-widget h4 { font-size: 14px; font-weight: 700; color: var(--color-navy); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--color-gold); display: inline-block; }
.sidebar-search { display: flex; gap: 0; }
.sidebar-search input {
  flex: 1; padding: 10px 14px;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 13px; font-family: var(--font-sans); outline: none;
  border-right: none;
}
.sidebar-search input:focus { border-color: var(--color-gold); }
.sidebar-search button {
  padding: 10px 14px; background: linear-gradient(135deg, var(--color-navy), var(--color-navy-lighter));
  color: var(--color-gold); border: none; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px; cursor: pointer; transition: all var(--transition-fast);
}
.sidebar-search button:hover { background: var(--color-gold); color: var(--color-navy); }
.sidebar-cats { list-style: none; padding: 0; }
.sidebar-cats li { margin-bottom: 8px; }
.sidebar-cats a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: var(--radius-md);
  color: var(--color-text); text-decoration: none; font-size: 14px;
  transition: all var(--transition-fast);
}
.sidebar-cats a:hover { background: var(--color-gold-subtle); color: var(--color-gold); }
.cat-count { font-size: 11px; color: var(--color-text-muted); background: #f0f2f5; padding: 2px 8px; border-radius: var(--radius-full); }
.sidebar-recent { list-style: none; padding: 0; }
.sidebar-recent li { margin-bottom: 14px; }
.sidebar-recent li a { display: flex; gap: 12px; align-items: flex-start; text-decoration: none; }
.recent-thumb { width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-info { display: flex; flex-direction: column; }
.recent-title { font-size: 13.5px; font-weight: 600; color: var(--color-navy); line-height: 1.4; transition: color var(--transition-fast); }
.sidebar-recent li a:hover .recent-title { color: var(--color-gold); }
.recent-date { font-size: 11.5px; color: var(--color-text-muted); margin-top: 2px; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-link { display: inline-block; background: #f0f2f5; color: #4a5568; padding: 6px 14px; border-radius: var(--radius-full); font-size: 12.5px; font-weight: 500; text-decoration: none; transition: all var(--transition-fast); }
.tag-link:hover { background: var(--color-gold); color: var(--color-white); }

/* Post Navigation */
.post-navigation {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.post-navigation .nav-previous,
.post-navigation .nav-next { flex: 1; }
.post-navigation a {
  display: block;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.post-navigation a:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}
.post-navigation .nav-subtitle {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .hamburger { display: block; }
  #navMenu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--color-navy);
    padding: 12px 0;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 8px;
    border-radius: var(--radius-md);
  }
  #navMenu.open { display: flex; }
  #navMenu a { font-size: 14px; padding: 12px 20px; border-radius: 0; }
  .header-contact { display: none; }
  .header-actions { gap: 8px; }
  .search-input.open { width: 140px; }

  .hero { padding: 90px 0 72px; }
  .hero h1 { font-size: 38px; }
  .hero-badge { font-size: 11px; }

  .stats-bar { flex-wrap: wrap; gap: 28px; padding: 32px 16px; }
  .stat-item { min-width: 130px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-number { font-size: 30px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; gap: 36px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust-grid { gap: 32px; }
  .trust-clients { gap: 24px; }
  .page-header { padding: 56px 0; }
  .page-header h1 { font-size: 32px; }
  .page-content .container { max-width: 100%; }
  .single-post-content .container { max-width: 100%; }
  .product-category-nav { border-radius: var(--radius-lg); }

  .section { padding: 72px 0; }
  .section-header h2 { font-size: 32px; }
}

@media (max-width: 600px) {
  .hero { padding: 70px 0 56px; }
  .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
  .hero p.subtitle { font-size: 15px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; }

  .section-header h2 { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-category-nav { max-width: 100%; padding: 4px; }
  .cat-filter-btn { padding: 8px 16px; font-size: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }

  .trust-grid { gap: 16px; }
  .trust-badge { width: 64px; height: 64px; font-size: 11px; }
  .trust-clients { gap: 16px; }

  .cta h2 { font-size: 26px; }
  .page-header { padding: 44px 0; }
  .page-header h1 { font-size: 26px; }
  .page-404 h1 { font-size: 64px; }
  .page-404 { padding: 100px 0; }

  .product-detail { gap: 28px; }
  .product-cta { padding: 24px 20px; }

  .stats-bar { border-radius: var(--radius-md); }

  /* Contact page */
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .map-placeholder { padding: 40px 20px; }

  /* About page */
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-stats-inline { gap: 24px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 24px; }
  .timeline-item,
  .timeline-item:nth-child(odd) { flex-direction: column; text-align: left; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-content { padding-left: 60px; padding-right: 0; }
  .timeline-year { width: 48px; height: 48px; font-size: 11px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { gap: 20px; }

  /* Blog page */
  .blog-page-layout { grid-template-columns: 1fr; }
  .blog-page-card { grid-template-columns: 1fr; }
  .blog-page-img { min-height: 180px; }
}

@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .about-stats-inline { flex-direction: column; gap: 16px; }
  .contact-form-wrap { padding: 28px 20px; }
}
