/* ==========================================================================
   GANRAJ ENTERPRISES - COMPREHENSIVE RESPONSIVE STYLESHEET
   PTFE Products, Precision Gaskets & Gland Packing Solutions
   ========================================================================== */

:root {
  --primary: #0F284E;
  --primary-dark: #08162B;
  --primary-light: #1A3E72;
  --accent: #E68A00;
  --accent-gold: #DDA853;
  --accent-light: #FFB347;
  --secondary: #0284C7;
  --secondary-dark: #0369A1;
  --dark: #0F172A;
  --dark-surface: #1E293B;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-alt: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-dark: #334155;
  --success: #10B981;
  --success-bg: #ECFDF5;
  --success-border: #A7F3D0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 30px -10px rgba(15, 40, 78, 0.2);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 24px);
  padding-right: clamp(16px, 4vw, 24px);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #0A192F 0%, #0F284E 50%, #17325D 100%);
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-info-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.top-info-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-info-list a {
  color: #F8FAFC;
  font-weight: 500;
}

.top-info-list a:hover {
  color: var(--accent-light);
}

.top-badge {
  background: rgba(221, 168, 83, 0.2);
  color: #F2C94C;
  border: 1px solid rgba(242, 201, 76, 0.4);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.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);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  min-height: 64px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.brand-logo-img {
  height: clamp(42px, 5vw, 54px);
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
  display: inline-block;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hide mobile-only CTA from desktop navigation */
.mobile-nav-cta {
  display: none;
}

/* Mobile Nav Overlay & Close Button */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-close {
  display: none;
  background: #F1F5F9;
  border: 1px solid var(--border);
  color: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: absolute;
  top: 18px;
  right: 20px;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: #F1F5F9;
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  min-height: 44px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #D97706 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(230, 138, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #F59E0B 0%, var(--accent) 100%);
  box-shadow: 0 6px 20px rgba(230, 138, 0, 0.45);
  transform: translateY(-2px);
}

.btn-navy {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 40, 78, 0.25);
}

.btn-navy:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 6px 20px rgba(15, 40, 78, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20BD5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  min-height: 38px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  min-height: 48px;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #FFFFFF;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, rgba(2, 132, 199, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(230, 138, 0, 0.06) 0%, transparent 50%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  padding: clamp(40px, 8vw, 75px) 0 clamp(50px, 10vw, 85px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 50px);
  align-items: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-dark);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, #C2410C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-call-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.hero-call-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FEF3C7;
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-call-meta {
  display: flex;
  flex-direction: column;
}

.hero-call-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-call-num {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 800;
  color: var(--primary);
}

.hero-call-num:hover {
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.stat-item h3 {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Visual Card */
.hero-visual {
  position: relative;
}

.hero-card-featured {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.hero-card-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hero-card-img-wrap {
  position: relative;
  height: clamp(240px, 35vw, 320px);
  background-color: #E2E8F0;
  overflow: hidden;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-featured:hover .hero-card-img {
  transform: scale(1.05);
}

.hero-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 40, 78, 0.9);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-card-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--accent-light);
  border-radius: 50%;
}

.hero-card-body {
  padding: clamp(18px, 4vw, 24px);
  background: #FFFFFF;
}

.hero-card-title {
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.hero-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-pill {
  background-color: var(--bg-alt);
  color: var(--text-main);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.floating-trust-badge {
  position: absolute;
  bottom: -15px;
  right: -10px;
  background: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.trust-icon {
  width: 34px;
  height: 34px;
  background: #DCFCE7;
  color: #15803D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.trust-text-main {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--dark);
}

.trust-text-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION COMMON HEADINGS
   ========================================================================== */
.section-padding {
  padding: clamp(50px, 8vw, 85px) 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(30px, 6vw, 50px);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.75rem, 4.5vw, 2.4rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-muted);
}

/* ==========================================================================
   ABOUT GANRAJ ENTERPRISES
   ========================================================================== */
.about-section {
  background-color: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 50px);
  align-items: center;
}

.about-content-block h3 {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-paragraph {
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0 28px;
}

.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: var(--radius-md);
}

.feature-check {
  color: var(--success);
  font-size: 1.1rem;
  line-height: 1;
}

.feature-pill-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.feature-pill-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-media-stack {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: clamp(260px, 40vw, 380px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.about-img-sub {
  position: absolute;
  bottom: -20px;
  right: -15px;
  width: clamp(140px, 22vw, 220px);
  height: clamp(140px, 22vw, 220px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-hover);
}

.about-badge-card {
  position: absolute;
  top: 15px;
  left: -15px;
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-badge-card .big-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
}

.about-badge-card .badge-txt {
  font-size: 0.75rem;
  font-weight: 600;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   PRODUCTS SECTION & TOUCH-SCROLL TABS
   ========================================================================== */
.products-section {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.filter-tabs-wrapper {
  position: relative;
  margin-bottom: 35px;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 6px 10px;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 42px;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 40, 78, 0.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 30px);
}

.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #CBD5E1;
}

.product-img-box {
  position: relative;
  height: 230px;
  background-color: #E2E8F0;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.06);
}

.product-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}

.product-badge-overlay.badge-highlight {
  background: var(--accent);
  color: #FFFFFF;
}

.product-body {
  padding: clamp(16px, 3vw, 22px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--secondary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.product-title {
  font-size: clamp(1.15rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.product-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-specs-list {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #CBD5E1;
  gap: 8px;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-key {
  color: var(--text-muted);
  font-weight: 600;
}

.spec-val {
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   TECHNICAL SPECIFICATIONS & PTFE ADVANTAGES
   ========================================================================== */
.specs-section {
  background-color: #FFFFFF;
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 50px);
}

.specs-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
}

.specs-card-title {
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-swipe-hint {
  display: none;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
  min-width: 480px;
}

.custom-table th {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 10px 14px;
  font-weight: 700;
}

.custom-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.custom-table tr:nth-child(even) {
  background-color: #FFFFFF;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: var(--radius-md);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  background: #EFF6FF;
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3px;
}

.benefit-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2.5vw, 20px);
}

.gallery-item {
  position: relative;
  height: clamp(160px, 25vw, 220px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  background-color: #CBD5E1;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: 0.85rem;
  font-weight: 700;
}

.gallery-item-sub {
  font-size: 0.72rem;
  color: var(--accent-light);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding: 0 10px;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   QUOTE CALCULATOR & INQUIRY FORM (EMAIL & WHATSAPP)
   ========================================================================== */
.quote-section {
  background: linear-gradient(135deg, #0A192F 0%, #0F284E 50%, #17325D 100%);
  color: #FFFFFF;
  position: relative;
}

.quote-box {
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  max-width: 860px;
  margin: 0 auto;
}

.quote-head {
  text-align: center;
  margin-bottom: 26px;
}

.quote-head h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.quote-head p {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 16px; /* Prevents auto-zoom on iOS mobile */
  background-color: var(--bg-subtle);
  color: var(--text-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(230, 138, 0, 0.15);
}

/* Alert Boxes */
.alert-notice {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.alert-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: #065F46;
}

.alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-section {
  background-color: #FFFFFF;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}

.contact-card-info {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 34px);
}

.contact-card-title {
  font-size: clamp(1.4rem, 3.5vw, 1.7rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.contact-lead-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: #EFF6FF;
  color: var(--secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-item-details p, .contact-item-details a {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.45;
}

.contact-item-details a:hover {
  color: var(--accent);
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 100%;
  min-height: 380px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #CBD5E1;
  padding: clamp(40px, 7vw, 60px) 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: 35px;
}

.footer-brand h4 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748B;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border: none;
  font-size: 1.35rem;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-btn:active {
  transform: scale(0.95);
}

.float-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.float-call {
  background: linear-gradient(135deg, var(--accent) 0%, #D97706 100%);
  color: #FFFFFF;
}

.float-top {
  background: var(--primary);
  color: #FFFFFF;
  opacity: 0;
  visibility: hidden;
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   MOBILE & RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-card-featured {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .top-info-list {
    justify-content: center;
  }

  .header-inner {
    padding: 8px 0;
  }

  .header-cta-group {
    display: none; /* Relocated into mobile drawer */
  }

  .mobile-toggle {
    display: flex;
  }

  /* Off-canvas mobile menu drawer */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 70px 24px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow-y: auto;
    gap: 20px;
  }
  
  .main-nav.active {
    transform: translateX(0);
  }

  .mobile-close {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 6px;
  }

  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .nav-link:hover {
    background-color: var(--bg-alt);
  }

  .mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  .strip-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-grid, .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-media-stack {
    max-width: 450px;
    margin: 30px auto 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-call-card {
    justify-content: flex-start;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

  .table-swipe-hint {
    display: block;
  }
}

/* Phones (max-width: 540px) */
@media (max-width: 540px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    text-align: center;
  }

  .stat-item h3 {
    font-size: 1.35rem;
  }

  .stat-item p {
    font-size: 0.75rem;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .floating-trust-badge {
    position: static;
    margin-top: 14px;
    border-radius: var(--radius-md);
  }

  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* Small Foldable / Old Phones (max-width: 360px) */
@media (max-width: 360px) {
  .hero-stats {
    grid-template-columns: 1fr;
    text-align: left;
  }
  
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}
