/* ==========================================================================
   SAGAR METAL INDUSTRIES - PREMIUM STYLESHEET
   Industrial Stainless Steel Manufacturer & Stockiest (Est. 1980)
   ========================================================================== */

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

:root {
  --primary: #0a2540;
  --primary-light: #163e69;
  --primary-dark: #061729;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-dark: #b45309;
  --accent-glow: rgba(217, 119, 6, 0.25);
  --steel: #64748b;
  --steel-light: #94a3b8;
  --steel-dark: #334155;
  --steel-silver: #f8fafc;
  --steel-border: #e2e8f0;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 35px -5px rgba(10,37,64,0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

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

.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
  padding: 0 24px;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */

.top-bar {
  background: var(--dark);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  white-space: nowrap;
}

.top-item a {
  color: #cbd5e1;
}

.top-item a:hover {
  color: var(--accent-light);
}

.top-item i {
  color: var(--accent-light);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.badge-stock-alert {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  animation: pulseStock 2s infinite;
}

@keyframes pulseStock {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* MAIN NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

/* NAV LINKS */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1.3;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(10, 37, 64, 0.05);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(10, 37, 64, 0.06);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 37, 64, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline-white {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-slider-wrap {
  position: relative;
  background: var(--dark);
  color: #ffffff;
  overflow: hidden;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.04);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 23, 41, 0.94) 0%, rgba(10, 37, 64, 0.82) 55%, rgba(15, 23, 42, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-cta-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  bottom: 24px;
  right: 40px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-dots {
  display: flex;
  gap: 8px;
  margin: 0 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 10px;
}

/* ==========================================================================
   READY STOCK CALLOUT BAR
   ========================================================================== */

.ready-stock-strip {
  background: linear-gradient(135deg, #0a2540 0%, #163e69 100%);
  color: #ffffff;
  padding: 18px 0;
  border-bottom: 3px solid var(--accent);
}

.ready-stock-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.rss-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rss-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rss-text h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.rss-text p {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ==========================================================================
   KEY CREDENTIALS / BADGES SECTION
   ========================================================================== */

.section-credentials {
  padding: 60px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--steel-border);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.credential-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--steel-border);
  transition: var(--transition);
}

.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.credential-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.credential-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.credential-info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.credential-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   ABOUT COMPANY SECTION
   ========================================================================== */

.section-about {
  padding: 90px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.title-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

.title-divider.center {
  margin-left: auto;
  margin-right: auto;
}

.about-lead {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.about-body p {
  color: var(--steel-dark);
  margin-bottom: 16px;
  font-size: 0.96rem;
  line-height: 1.7;
}

.grades-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 26px;
}

.grade-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: 20px;
}

.about-media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--steel-border);
}

.about-media-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-media-card:hover img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.about-floating-badge .num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}

.about-floating-badge .lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   POPULAR KALVAT PRODUCTS SHOWCASE
   ========================================================================== */

.section-popular {
  padding: 90px 0;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.popular-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--steel-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.popular-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.popular-img-wrap {
  position: relative;
  padding-top: 80%;
  background: #f1f5f9;
  overflow: hidden;
}

.popular-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.popular-card:hover .popular-img-wrap img {
  transform: scale(1.06);
}

.popular-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.popular-title {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.popular-meta {
  font-size: 0.82rem;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.popular-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   LIVE COMPANY STATS
   ========================================================================== */

.section-stats {
  padding: 70px 0;
  background: linear-gradient(135deg, #0a2540 0%, #061729 100%);
  color: #ffffff;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-divider {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  margin: 10px auto;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* ==========================================================================
   MANAGEMENT TEAM SECTION
   ========================================================================== */

.section-team {
  padding: 90px 0;
  background: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--steel-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-img-wrap {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #e2e8f0;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
}

.team-info {
  padding: 24px;
  text-align: center;
}

.team-name {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.team-role {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.team-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--steel-dark);
  font-size: 0.95rem;
  font-weight: 600;
}

.team-phone a {
  color: var(--primary);
}

.team-phone a:hover {
  color: var(--accent);
}

/* ==========================================================================
   PRODUCTS CATALOGUE & FILTER PAGE
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, #0a2540 0%, #163e69 100%);
  color: #ffffff;
  padding: 60px 0;
  position: relative;
}

.page-hero-title {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-hero-lead {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 650px;
}

.catalog-toolbar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  margin-top: -30px;
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid var(--steel-border);
}

.search-box {
  position: relative;
  flex-grow: 1;
  max-width: 420px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--steel-border);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.12);
}

.search-box i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--steel-border);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--steel-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.product-thumb-wrap {
  position: relative;
  padding-top: 85%;
  background: #f8fafc;
  overflow: hidden;
}

.product-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}

.stock-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-sm);
}

.stock-tag.in-stock {
  background: var(--success);
  color: #ffffff;
}

.stock-tag.order {
  background: #f1f5f9;
  color: var(--steel-dark);
  border: 1px solid #cbd5e1;
}

.product-code-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: 6px;
}

.product-card-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-cat {
  font-size: 0.8rem;
  color: var(--steel);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product-specs-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--steel-dark);
  margin-bottom: 14px;
}

.spec-line span.label {
  font-weight: 600;
  color: var(--primary);
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   READY STOCK TABLE PAGE
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--steel-border);
  box-shadow: var(--shadow-sm);
}

.stock-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.stock-table th {
  background: var(--primary);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 20px;
  letter-spacing: 0.5px;
}

.stock-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--steel-border);
  font-size: 0.92rem;
  vertical-align: middle;
}

.stock-table tbody tr:hover {
  background: #f8fafc;
}

.stock-table .prod-code {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

.stock-table .prod-thumb {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--steel-border);
}

.stock-quantity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
}

.stock-quantity-badge.has-stock {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stock-quantity-badge.made-to-order {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

/* ==========================================================================
   INFRASTRUCTURE GALLERY
   ========================================================================== */

.infra-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.infra-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  border: 1px solid var(--steel-border);
  transition: var(--transition);
  cursor: pointer;
}

.infra-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.infra-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.infra-card:hover img {
  transform: scale(1.05);
}

.infra-caption {
  padding: 16px 20px;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

/* ==========================================================================
   CONTACT & INQUIRY PAGE
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-card {
  background: linear-gradient(135deg, #0a2540 0%, #163e69 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
}

.contact-info-card h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h5 {
  color: #94a3b8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-text p, .contact-text a {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.contact-text a:hover {
  color: var(--accent-light);
}

.inquiry-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--steel-border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--steel-border);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* MAP WRAPPER */
.map-wrap {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--steel-border);
  margin-top: 40px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL & LIGHTBOX
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.95) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: var(--steel-dark);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--dark);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  padding: 30px;
}

.modal-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--steel-border);
}

.modal-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.modal-info h2 {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.modal-code {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
}

.modal-specs-table th, .modal-specs-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--steel-border);
  font-size: 0.9rem;
}

.modal-specs-table th {
  font-weight: 600;
  color: var(--primary);
  width: 40%;
  background: #f8fafc;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 70px 0 20px;
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 16px;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item i {
  color: var(--accent-light);
  margin-top: 4px;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: floatPulse 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  color: #ffffff;
}

@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1200px) {
  .nav-menu {
    gap: 4px;
  }
  .nav-link {
    font-size: 0.88rem;
    padding: 7px 10px;
  }
  .brand-title {
    font-size: 1.2rem;
  }
  .header-cta-group .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .top-bar { display: none; }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-xl);
    display: none;
    border-bottom: 2px solid var(--primary);
    gap: 8px;
    align-items: stretch;
  }
  .nav-menu.show { display: flex; }
  .nav-link {
    width: 100%;
    padding: 10px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.6rem; }
  .credentials-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .infra-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .hero-slider-wrap { min-height: 480px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-cta-group .btn span { display: none; }
  .header-cta-group .btn { padding: 8px 12px; }
}

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .infra-gallery-grid { grid-template-columns: 1fr; }
}
