/* ==========================================================================
   SmartCap 2.0 - Pure Modern CSS (Zero Framework / Lightweight & Fast)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #d97706;
  --primary-dark: #b45309;
  --primary-light: #fef3c7;
  --primary-border: #fde68a;
  
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --dark-border: #334155;
  
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  
  --success: #10b981;
  --success-dark: #059669;
  
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 25px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-primary: 0 10px 25px -5px rgba(217, 119, 6, 0.3);
}

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

html {
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

body {
  font-size: 17px;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Top Utility Bar (Modern & High-Trust)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #0b1120 0%, #1e293b 100%);
  color: #94a3b8;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.factory-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fde68a;
  font-weight: 500;
}
.factory-badge svg {
  color: #f59e0b;
}
.top-bar-divider {
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.15);
}
.top-bar-hours {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hotline-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hotline-label {
  color: #94a3b8;
  display: none;
}
@media (min-width: 860px) {
  .hotline-label { display: inline; }
}
.hotline-link {
  color: #f8fafc;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hotline-link:hover {
  color: #fbbf24;
}
.hotline-link svg {
  color: #f59e0b;
}
.hotline-sep {
  color: #475569;
}
.line-badge-btn {
  background: rgba(6, 199, 85, 0.15);
  border: 1px solid rgba(6, 199, 85, 0.35);
  color: #4ade80;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  transition: all 0.2s;
}
.line-badge-btn:hover {
  background: rgba(6, 199, 85, 0.25);
  color: #86efac;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   Main Header & Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

/* Brand Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px -2px rgba(217, 119, 6, 0.35);
  transition: transform 0.2s;
}
.header-logo:hover .logo-mark {
  transform: scale(1.05);
}
.cap-emoji {
  font-size: 22px;
}
.brand-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--dark);
}
.brand-title span {
  color: var(--primary);
}
.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
  display: none;
}
@media (min-width: 480px) {
  .brand-tagline { display: block; }
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-nav { display: block; }
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: rgba(217, 119, 6, 0.06);
}
.dropdown-chevron {
  transition: transform 0.2s ease;
  color: #94a3b8;
}
.nav-item:hover .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.nav-badge-pill {
  font-size: 10px;
  font-weight: 700;
  background-color: #fee2e2;
  color: #dc2626;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Mega Dropdown Menu Panel
   ========================================================================== */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 740px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.02);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.nav-item.has-dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}
.mega-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}
.mega-icon {
  font-size: 16px;
}
.mega-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.mega-link:hover {
  background-color: #fffbeb;
}
.mega-link-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mega-link:hover .mega-link-title {
  color: var(--primary);
}
.mega-link-sub {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}
.mini-pill {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}
.pill-hot {
  background-color: #fee2e2;
  color: #ef4444;
}
.pill-new {
  background-color: #fef3c7;
  color: #b45309;
}
.mega-craft-box {
  margin-top: 14px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px;
}
.craft-box-title {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
}
.craft-box-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.craft-box-tags span {
  font-size: 10.5px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  color: #334155;
}

/* ==========================================================================
   Header Right Actions
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quick-call-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius);
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}
@media (min-width: 1200px) {
  .quick-call-btn { display: inline-flex; }
}
.quick-call-btn:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}
.call-btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(217, 119, 6, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.call-btn-text {
  display: flex;
  flex-direction: column;
}
.call-label {
  font-size: 10px;
  color: #64748b;
  font-weight: 500;
  line-height: 1;
}
.call-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.btn-quote-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn-quote-header:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45);
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
}
.btn-sparkle {
  font-size: 15px;
}

/* Hamburger button for mobile */
.mobile-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  transition: all 0.2s;
}
@media (min-width: 1024px) {
  .mobile-hamburger { display: none; }
}
.mobile-hamburger:hover {
  background-color: #f1f5f9;
}
.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* ==========================================================================
   Mobile Drawer Navigation (Sleek Slide-in)
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 330px;
  max-width: 86vw;
  background: #ffffff;
  z-index: 1002;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-drawer.active {
  transform: translateX(0);
}
.drawer-header {
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fafc;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-emoji {
  font-size: 24px;
}
.drawer-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.drawer-title span {
  color: var(--primary);
}
.drawer-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.drawer-close-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.drawer-close-btn:hover {
  background-color: #e2e8f0;
  color: var(--dark);
}
.drawer-body {
  padding: 16px;
  overflow-y: auto;
  flex-grow: 1;
}
.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-link {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: all 0.15s;
}
.drawer-link:hover, .drawer-link.active {
  background-color: #fffbeb;
  color: var(--primary);
}
.drawer-accordion {
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.accordion-trigger:hover {
  background-color: #f1f5f9;
}
.accordion-chevron {
  transition: transform 0.25s ease;
  color: #94a3b8;
}
.drawer-accordion.open .accordion-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.accordion-content {
  list-style: none;
  display: none;
  padding: 4px 0 8px 18px;
  background-color: #f8fafc;
  border-left: 2px solid var(--primary-border);
  margin: 4px 0 8px 14px;
}
.drawer-accordion.open .accordion-content {
  display: block;
}
.accordion-content li a {
  display: block;
  font-size: 13px;
  color: #475569;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}
.accordion-content li a:hover {
  color: var(--primary);
  background-color: #ffffff;
}
.drawer-contact-card {
  margin-top: 24px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 16px;
}
.contact-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 8px;
}
.contact-card-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}
.contact-card-phone a {
  color: var(--dark);
}
.contact-card-phone a:hover {
  color: var(--primary);
}
.drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid #e2e8f0;
  background-color: #ffffff;
}

/* ==========================================================================
   Shared Button Utility
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(217, 119, 6, 0.4);
}
.btn-dark {
  background-color: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background-color: var(--dark-surface);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: var(--border);
  background-color: #fff;
  color: var(--text);
}
.btn-outline:hover {
  background-color: var(--bg);
  border-color: #cbd5e1;
}
.btn-line {
  background-color: #06c755;
  color: #fff;
}
.btn-line:hover {
  background-color: #05a847;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, var(--dark) 0%, #111827 100%);
  color: #fff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #fde68a;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 span {
  background: linear-gradient(90deg, #fcd34d, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 580px;
  font-weight: 300;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
  font-size: 13px;
  color: #e2e8f0;
}
.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-feat-item span {
  color: #fbbf24;
  font-weight: bold;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Estimator Card on Hero */
.estimator-card {
  background-color: #ffffff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.card-header-flex h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}
.card-header-flex .pill {
  font-size: 11px;
  font-weight: 700;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.form-group {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-select, .form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: all 0.2s;
}
.form-select:focus, .form-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* Custom File Upload Dropzone */
.custom-file-dropzone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius);
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 16px;
}
.custom-file-dropzone:hover, .custom-file-dropzone.dragover {
  border-color: var(--primary);
  background: #fffbeb;
}
.dropzone-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dropzone-icon {
  font-size: 32px;
  line-height: 1;
}
.dropzone-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.dropzone-sub {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.dropzone-btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  color: var(--dark);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.custom-file-dropzone:hover .dropzone-btn {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: #fff;
}
.qty-slider-wrap {
  margin-top: 10px;
}
.qty-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.qty-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}
.qty-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.price-display-box {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.price-tag {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}
.price-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.price-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
  background-color: #fff;
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
  padding: 70px 0;
}
.section-alt {
  background-color: #ffffff;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.section-subtitle {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-top: 6px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   Product & Service Cards Grid
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.card-img-wrap {
  position: relative;
  height: 220px;
  background-color: #f1f5f9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img-wrap img {
  transform: scale(1.05);
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--dark);
  color: #fff;
}
.card-badge.badge-amber {
  background-color: var(--primary);
}
.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tag-chip {
  font-size: 11px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--text);
}
.card-footer {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-price-start {
  font-size: 12px;
  color: var(--text-muted);
}
.card-price-start strong {
  font-size: 15px;
  color: var(--dark);
}

/* ==========================================================================
   Craftsmanship & Features Block
   ========================================================================== */
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.craft-feature-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  transition: all 0.2s;
}
.craft-feature-item:hover {
  background-color: #fff;
  box-shadow: var(--shadow);
}
.craft-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background-color: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.craft-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
}
.craft-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 3px;
}
.dark-spec-box {
  background-color: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.dark-spec-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--dark-border);
  padding-bottom: 14px;
}
.spec-row {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dark-surface);
}
.spec-title {
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
}
.spec-desc {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* ==========================================================================
   Order Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card:first-child .step-num {
  background: var(--primary);
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background-color: var(--dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  margin-top: auto;
  border-top: 1px solid var(--dark-surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--dark-surface);
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 13px;
  line-height: 1.7;
}
.footer-links {
  list-style: none;
  font-size: 13px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a:hover {
  color: #fbbf24;
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid, .craft-grid {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 14px;
  }
  .nav-links.open {
    display: flex;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero-features {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
