/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Inter', Arial, sans-serif; color: #1a202c; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0A2342;
  --primary-light: #1a3a5c;
  --accent: #0066CC;
  --accent-hover: #0055AA;
  --blue: #0066CC;
  --green: #16a34a;
  --orange: #FF8C00;
  --orange-hover: #E07800;
  --text: #1a202c;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg-light: #f8fafc;
  --bg-dark: #0A2342;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ===== TOP BANNER ===== */
.top-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.top-banner a { color: #93c5fd; text-decoration: underline; }

/* ===== NAVBAR ===== */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 32px;
  flex-shrink: 0;
}
.navbar-logo .logo-img {
  height: 38px;
  width: auto;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  padding: 8px 14px;
  font-size: 13.5px;
  color: #374151;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
  font-weight: 500;
  display: flex; align-items: center; gap: 4px;
}
.nav-link:hover, .nav-link.active { background: #f1f5f9; color: var(--primary); }
.nav-link .arrow { font-size: 10px; opacity: 0.6; }
.navbar-actions {
  display: flex; align-items: center; gap: 12px; margin-left: auto;
}
.btn-search { background: none; border: none; cursor: pointer; padding: 6px; color: var(--orange); font-size: 18px; }
.btn-quote {
  background: var(--orange);
  color: #fff;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-quote:hover { background: var(--orange-hover); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: 6px 0;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: #374151;
  transition: background 0.15s;
}
.dropdown-item:hover { background: #f1f5f9; color: var(--primary); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-blue { background: var(--orange); color: #fff; }
.btn-blue:hover { background: var(--orange-hover); }
.btn-sm { padding: 6px 14px; font-size: 12.5px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ===== STATUS BADGE ===== */
.badge-available { color: var(--green); font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.badge-available::before { content: '●'; font-size: 10px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-orange { background: #fef3c7; color: #d97706; }

/* ===== PRODUCT TABLE ===== */
.product-table { width: 100%; border-collapse: collapse; }
.product-table th {
  background: #f8fafc;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
  text-align: left;
}
.product-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
  vertical-align: middle;
}
.product-table tr:hover td { background: #f8fafc; }
.product-table .product-name { font-weight: 600; color: var(--primary); }
.product-table .cas { font-family: monospace; color: var(--text-muted); font-size: 13px; }
.btn-quote-sm {
  background: #fff;
  color: #e02020;
  border: 1.5px solid #e02020;
  padding: 6px 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-quote-sm:hover { background: #e02020; color: #fff; }

/* ===== SECTION ===== */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-title { font-size: 32px; font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 12px; }
.section-title span { color: var(--blue); }
.section-sub { font-size: 15px; color: var(--text-muted); max-width: 600px; }
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }
.divider { width: 48px; height: 3px; background: var(--accent); margin: 12px 0 0; border-radius: 2px; }
.divider-center { margin: 12px auto 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: #94a3b8; line-height: 1.7; margin-bottom: 16px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #e2e8f0; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #94a3b8; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact-item .icon { font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.footer-contact-item p { font-size: 13px; color: #94a3b8; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #64748b;
}
.footer-disclaimer { margin-top: 10px; font-size: 11px; color: #475569; line-height: 1.6; max-width: 900px; margin-left: auto; margin-right: auto; }

/* ===== FLOATING BTNS ===== */
.float-btns {
  position: fixed;
  right: 16px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 500;
}
.float-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.float-btn-wa { background: #25d366; color: #fff; }
.float-btn-tg { background: #0088cc; color: #fff; }
.float-btn-top {
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: fixed;
  left: 16px;
  bottom: 24px;
  z-index: 600;
  font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
}
.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
  white-space: nowrap;
}
.lang-switcher-btn:hover {
  box-shadow: var(--shadow-lg);
}
.lang-switcher-btn .lang-flag {
  font-size: 16px;
  line-height: 1;
}
.lang-switcher-btn .lang-arrow {
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.2s;
  color: var(--text-muted);
}
.lang-switcher.open .lang-arrow {
  transform: rotate(180deg);
}
.lang-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 220px;
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
}
.lang-switcher.open .lang-dropdown {
  display: block;
}
.lang-dropdown::-webkit-scrollbar {
  width: 4px;
}
.lang-dropdown::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.lang-option:hover {
  background: var(--bg-light);
}
.lang-option.active {
  color: var(--blue);
  font-weight: 600;
  background: #eff6ff;
}
.lang-option .lang-flag {
  font-size: 16px;
  line-height: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 24px; }
}
