/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1A2B4A;
  --primary-dark: #0F1E33;
  --primary-light: #254B7A;
  --secondary: #F5A623;
  --secondary-dark: #D4890E;
  --secondary-light: #FFD580;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f8f9fb;
  --white: #ffffff;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  font-size: 12.5px;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  color: rgba(255,255,255,0.55);
  gap: 20px;
}
.top-bar .container span:first-child { color: var(--secondary); font-weight: 600; }
.top-bar a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.top-bar a:hover { color: var(--secondary); }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1440px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 52px; object-fit: contain; }
.logo-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.logo-text span { display: block; color: var(--primary); font-size: 13px; font-weight: 700; letter-spacing: 1px; }

.nav-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  background: var(--bg);
}
.nav-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,43,74,0.08);
  background: white;
}
.nav-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 20px;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
}
.nav-search button {
  background: var(--primary);
  border: none;
  padding: 10px 22px;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}
.nav-search button:hover { background: var(--primary-dark); }

.nav-main-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}
.nav-main-links .nav-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s;
  position: relative;
  padding: 6px 12px;
  border-radius: 6px;
}
.nav-main-links .nav-link:hover,
.nav-main-links .nav-link.active {
  color: var(--primary);
  background: rgba(26,43,74,0.05);
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-dropdown-menu a:hover {
  background: #f3f4f6;
  color: var(--primary);
}

.nav-dropdown-menu a.active {
  color: var(--primary);
  background: #f3f4f6;
  font-weight: 600;
}

.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: white;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.btn-whatsapp:hover { background: #1ebe5e; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,211,102,0.3); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.mobile-menu a:hover { background: var(--bg); color: var(--primary); }

/* ===== CATEGORY STRIP ===== */
.cat-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip-inner {
  display: flex;
  gap: 6px;
  padding: 12px 32px;
  white-space: nowrap;
}
.cat-btn {
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
  white-space: nowrap;
}
.cat-btn:hover, .cat-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(26,43,74,0.2);
}

/* ===== MAIN CONTENT ===== */
.main-content { padding: 28px 0; }
.main-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: start;
}

/* ===== SIDEBAR ===== */
.sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 12px; }

.sidebar-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sidebar-section h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  user-select: none;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  color: var(--primary);
}
.sidebar-section h3 svg { transition: transform 0.2s; color: var(--text-muted); }
.sidebar-section h3.collapsed svg { transform: rotate(-90deg); }

.sidebar-list { display: none; flex-direction: column; }
.sidebar-list.open { display: flex; }
.sidebar-list li a {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.15s;
  border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child a { border-bottom: none; }
.sidebar-list li a:hover, .sidebar-list li a.active {
  color: var(--primary);
  background: rgba(245,166,35,0.06);
  padding-left: 22px;
  border-left: 3px solid var(--secondary);
}

.cat-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-right: 6px; font-size: 10px;
  color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.cat-toggle:hover { color: var(--primary); }
.cat-spacer { display: inline-block; width: 16px; margin-right: 6px; }
.subcategory-list { list-style: none; padding: 0; margin: 0; }
.subcategory-list li a { font-size: 12px; padding: 7px 18px 7px 34px; }
.subcategory-list li a:hover, .subcategory-list li a.active { padding-left: 38px; }
.badge {
  font-size: 10.5px;
  background: var(--bg);
  color: var(--text-muted);
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-left: auto;
}

.sidebar-contact { display: none; flex-direction: column; gap: 8px; padding: 12px; }
.sidebar-contact.open { display: flex; }
.contact-item {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: opacity 0.2s, transform 0.15s;
}
.contact-item:hover { opacity: 0.85; transform: translateX(2px); }
.whatsapp-btn { background: #25d366; color: white; }
.email-btn { background: var(--primary); color: white; }

/* ===== PRODUCT AREA ===== */
.product-area { min-width: 0; }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.result-count { font-size: 14px; color: var(--text-muted); }
.result-count strong { color: var(--text); font-weight: 700; }
.toolbar-right { display: flex; align-items: center; gap: 10px; }

.toolbar-right select {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: var(--white);
  cursor: pointer;
  outline: none;
  color: var(--text);
  transition: border-color 0.2s;
}
.toolbar-right select:focus { border-color: var(--primary); }

.view-toggle { display: flex; gap: 2px; }
.view-btn {
  background: transparent;
  border: 1.5px solid var(--border);
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
  display: flex;
  align-items: center;
}
.view-btn:hover, .view-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-grid.list-view { grid-template-columns: 1fr; }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.product-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf5 100%);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-label-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  text-align: center;
  letter-spacing: 0.5px;
}

.product-info { padding: 14px; }
.product-number {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'SF Mono', 'Courier New', monospace;
  letter-spacing: 0.3px;
}
.product-name {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-brand {
  font-size: 10.5px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.add-cart-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.add-cart-btn:hover { background: var(--secondary); }

/* List view card */
.product-grid.list-view .product-card { flex-direction: row; }
.product-grid.list-view .product-img-wrap { width: 120px; height: 120px; flex-shrink: 0; aspect-ratio: unset; }
.product-grid.list-view .product-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.product-grid.list-view .product-name { -webkit-line-clamp: 1; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-weight: 600;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: white; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,30,51,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { transform: scale(0.88) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s;
  color: var(--text);
}
.modal-close:hover { background: var(--primary); border-color: var(--primary); color: white; }
.modal-content { padding: 32px; }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.modal-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
}
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-details h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: 'SF Mono', 'Courier New', monospace;
  color: var(--primary);
}
.modal-details .modal-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}
.modal-specs { margin-bottom: 18px; }
.spec-row {
  display: flex;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { font-weight: 700; min-width: 110px; color: var(--text); }
.spec-value { color: var(--text-muted); }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-btn {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.modal-btn:hover { transform: translateY(-1px); }
.modal-btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 12px rgba(26,43,74,0.3); }
.modal-btn-secondary { background: #25d366; color: white; box-shadow: 0 4px 12px rgba(37,211,102,0.3); }

/* ===== MODAL SHARE BAR ===== */
.modal-img-wrap { display: flex; flex-direction: column; gap: 12px; }
.modal-share-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.share-label { font-size: 11px; font-weight: 700; color: var(--text-muted); white-space: nowrap; margin-right: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 50px;
  font-size: 12px; font-weight: 700; color: #fff;
  text-decoration: none; transition: all 0.2s;
  cursor: pointer; white-space: nowrap; line-height: 1;
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.88; }
.share-fb  { background: #1877F2; }
.share-ig  { background: linear-gradient(45deg,#f09433,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888); }
.share-yt  { background: #FF0000; }
.share-li  { background: #0A66C2; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  z-index: 200;
  overflow: hidden;
  display: none;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: block; width: 100%;
  padding: 10px 16px;
  text-align: left;
  background: none; border: none;
  font-size: 13px; font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}
.lang-option:hover { background: var(--bg); }
.lang-option.active { color: var(--primary); font-weight: 700; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all 0.25s;
  color: white;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0F1E33 0%, #1A2B4A 50%, #254B7A 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245,166,35,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.15) 0%, transparent 50%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,30,51,0.9) 0%, rgba(15,30,51,0.6) 60%, rgba(15,30,51,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero-text { max-width: 620px; }
.hero-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-title .accent { color: var(--secondary); }
.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}
.hero-btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.hero-btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.45);
}
.hero-btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.hero-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 13.5px;
  font-weight: 500;
}
.hero-feature svg { color: var(--secondary); flex-shrink: 0; }
.hero-feature span { border-bottom: 1px dashed rgba(245,166,35,0.4); }

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 28px 36px;
  min-width: 180px;
}
.hero-stat {
  text-align: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat-number {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 2px;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Section Common Styles */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 0 auto 16px;
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.section-subtitle {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Home Categories Section */
.home-categories-section {
  padding: 80px 0;
  background: var(--bg);
}
.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-cat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.home-cat-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: center;
}
.home-cat-card:hover::before { transform: scaleX(1); }
.home-cat-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.home-cat-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(26,43,74,0.06) 0%, rgba(245,166,35,0.08) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
  transition: all 0.3s;
}
.home-cat-card:hover .home-cat-icon {
  background: var(--primary);
  color: var(--secondary);
}
.home-cat-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.home-cat-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.home-cat-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.home-cat-card:hover .home-cat-link { color: var(--secondary); }

/* Home Brands Section */
.home-brands-section {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.home-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.25s;
  background: var(--bg);
}
.home-brand-item:hover {
  border-color: var(--secondary);
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.home-brand-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 2px;
}
.home-brand-count {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Home About Section */
.home-about-section {
  padding: 80px 0;
  background: var(--bg);
}
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.home-about-image {
  position: relative;
}
.home-about-img-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.home-about-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(245,166,35,0.15) 0%, transparent 60%);
}
.home-about-img-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-weight: 900;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  line-height: 1.3;
  text-align: center;
}
.home-about-img-badge span { display: block; font-size: 24px; }
.home-about-content h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}
.home-about-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.home-about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.home-about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.home-about-feature svg { color: var(--secondary); flex-shrink: 0; }

/* Why Choose Us Section */
.home-why-section {
  padding: 80px 0;
  background: var(--white);
}
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.home-why-card {
  text-align: center;
  padding: 32px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all 0.3s;
  background: var(--bg);
}
.home-why-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.home-why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
}
.home-why-icon svg { color: var(--secondary); }
.home-why-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.home-why-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.55);
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0 40px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.45);
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  font-size: 14px;
}
.footer-social a:hover { background: var(--secondary); color: var(--primary-dark); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--secondary);
  border-radius: 1px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 13px;
  transition: color 0.2s;
  color: rgba(255,255,255,0.45);
}
.footer-col ul li a:hover { color: var(--secondary); }
.footer-col ul li { font-size: 13px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); font-size: 12.5px; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--secondary); }

/* ===== INQUIRY MODAL ===== */
.inquiry-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}
.inquiry-modal {
  background: white;
  border-radius: var(--radius-lg, 12px);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.inquiry-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.inquiry-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.inquiry-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.inquiry-modal-close:hover {
  background: var(--bg-light);
  color: var(--text);
}
.inquiry-modal-body {
  padding: 24px;
}
.inquiry-product-info {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.inquiry-product-oe {
  font-weight: 600;
  color: var(--primary);
}
.inquiry-form-group {
  margin-bottom: 16px;
}
.inquiry-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.inquiry-input,
.inquiry-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: white;
}
.inquiry-input:focus,
.inquiry-textarea:focus {
  border-color: var(--primary);
}
.inquiry-textarea {
  resize: vertical;
  min-height: 80px;
}
.inquiry-modal-footer {
  display: flex;
  gap: 12px;
  padding: 0 24px 24px;
}
.inquiry-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.inquiry-btn-primary {
  background: var(--primary);
  color: white;
}
.inquiry-btn-primary:hover {
  background: var(--primary-dark);
}
.inquiry-btn-secondary {
  background: var(--bg-light);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.inquiry-btn-secondary:hover {
  background: var(--border);
}
.inquiry-modal-footer {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}
.inquiry-form-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.inquiry-form-inputs input,
.inquiry-form-inputs textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.inquiry-form-inputs input:focus,
.inquiry-form-inputs textarea:focus { border-color: var(--primary); }
.inquiry-form-inputs textarea { grid-column: 1 / -1; }
.inquiry-submit-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}
.inquiry-submit-btn:hover { background: var(--secondary); color: var(--primary-dark); }

/* ===== SEARCH NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.no-results h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); }
.no-results p { font-size: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .home-why-grid { grid-template-columns: repeat(2, 1fr); }
  .home-about-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { flex-direction: row; min-width: unset; padding: 20px 24px; }
  .hero-stat { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.08); padding: 8px 20px; }
  .hero-stat:last-child { border-right: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-search { max-width: 300px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .home-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .home-brands-grid { grid-template-columns: repeat(3, 1fr); }
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .hero-title { font-size: 28px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 10px 16px; gap: 12px; }
  .nav-search { max-width: 160px; }
  .nav-main-links { display: none; }
  .hamburger { display: flex; }
  .lang-btn span:not([class]) { display: none; }
  .btn-whatsapp span { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home-categories-grid { grid-template-columns: 1fr; }
  .home-brands-grid { grid-template-columns: repeat(2, 1fr); }
  .home-why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-content { padding: 20px; }
  .inquiry-form-inputs { grid-template-columns: 1fr; }
  .home-about-features { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
}

/* ===== CTA SECTION ===== */
.home-cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.home-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(245,166,35,0.1) 0%, transparent 60%);
}
.home-cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.home-cta-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}
.home-cta-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.home-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.home-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}
.home-cta-btn-primary {
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.home-cta-btn-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.home-cta-btn-whatsapp {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.home-cta-btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  transform: translateY(-2px);
}

/* ===== HOME ABOUT BUTTON ===== */
.home-about-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 24px;
  background: var(--primary);
  color: white;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.3px;
}
.home-about-btn:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245,166,35,0.3);
}

/* ===== PAGE HEADER (shared by all inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 48px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.1) 0%, transparent 70%);
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.page-header p {
  font-size: 15.5px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto;
}

/* ===== FAQ PAGE ===== */
.faq-section {
  padding: 60px 0 80px;
  background: var(--bg);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
  border-color: rgba(26,43,74,0.2);
  box-shadow: var(--shadow-md);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  transition: background 0.15s;
}
.faq-question:hover { background: rgba(26,43,74,0.02); }
.faq-question h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  flex: 1;
}
.faq-toggle {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245,166,35,0.1);
  transition: all 0.25s;
  line-height: 1;
}
.faq-item.open .faq-toggle {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 60px 0 80px;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.25s;
}
.info-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.info-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(26,43,74,0.06) 0%, rgba(245,166,35,0.08) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.info-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.contact-form-wrapper {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-wrapper h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(26,43,74,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(26,43,74,0.25);
}
.btn-primary:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245,166,35,0.3);
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 60px 0 80px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.map-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 24px;
}
.map-placeholder {
  max-width: 1100px;
  margin: 0 auto;
  height: 360px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(245,166,35,0.12) 0%, transparent 60%);
}
.map-placeholder p { font-size: 15px; position: relative; z-index: 1; }
.map-placeholder p:first-child { font-size: 40px; }

/* ===== BLOG SECTION - Masonry Card Layout ===== */
.blog-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.1) 0%, transparent 70%);
}
.blog-page-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.blog-page-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
}

.blog-section {
  padding: 60px 0 80px;
  background: var(--bg);
}

/* Masonry Grid Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  align-items: start;
}

/* Blog Card Styles */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  height: fit-content;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-light);
}

.blog-card.featured {
  grid-column: span 2;
  grid-row: span 1;
}

@media (max-width: 768px) {
  .blog-card.featured {
    grid-column: span 1;
  }
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card.featured .blog-card-image {
  height: 280px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.blog-card-date::before {
  content: '📅';
  margin-right: 4px;
}

.blog-card-readtime::before {
  content: '⏱️';
  margin-right: 4px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card.featured .blog-card-title {
  font-size: 24px;
}

.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.blog-card-readmore::after {
  content: '→';
  transition: transform 0.2s;
}

.blog-card:hover .blog-card-readmore {
  color: var(--secondary-dark);
}

.blog-card:hover .blog-card-readmore::after {
  transform: translateX(4px);
}

/* Loading & Empty States */
.blog-loading,
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.blog-loading::before {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--secondary);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE — FAQ & CONTACT ===== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { display: grid; grid-template-columns: 1fr 1fr; }
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .faq-question { padding: 14px 16px; }
  .faq-question h3 { font-size: 13.5px; }
  .faq-answer p { padding: 12px 16px 16px; }
  .contact-form-wrapper { padding: 20px; }
  .contact-info { grid-template-columns: 1fr; }
  .page-header { padding: 32px 0; }
  .blog-section { padding: 40px 0 60px; }
  .blog-card-content { padding: 18px; }
  .blog-card-title { font-size: 16px; }
  .blog-card.featured .blog-card-title { font-size: 20px; }
}
