/* NOTE: Google Fonts @import removed from CSS to avoid render-blocking.
   Fonts are loaded via <link rel="preload"> in the <head> of index.html instead.
   This eliminates the extra network round-trip penalty. */

/* =========================================================
   FontAwesome font-display:swap - Full declarations with src
   Overrides the CDN's bundled @font-face that lacks src here
   Saves 240ms FOIT (Flash of Invisible Text) on mobile
   ========================================================= */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-regular-400.woff') format('woff');
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff') format('woff');
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2') format('woff2'),
       url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff') format('woff');
}

:root {
  /* Primary Industrial Palette */
  --clr-navy-dark: #0a1329;
  --clr-navy-main: #0f1e36;
  --clr-navy-light: #1e293b;
  --clr-primary-blue: #0033cc;
  --clr-primary-blue-hover: #002299;
  --clr-primary-blue-light: #e0f2fe;
  
  /* Brand Specific Colors from Poster */
  --clr-brand-red: #d90429;
  --clr-brand-blue: #0022cc;
  --clr-brand-cyan: #00a8e8;
  --clr-brand-green: #00e600;
  
  /* Neutral Grays */
  --clr-bg-page: #f8fafc;
  --clr-bg-card: #ffffff;
  --clr-bg-secondary: #f1f5f9;
  --clr-border: #cbd5e1;
  --clr-text-main: #0f172a;
  --clr-text-muted: #334155;
  --clr-text-light: #475569;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 30, 54, 0.12);
  --shadow-xl: 0 20px 30px -10px rgba(15, 30, 54, 0.18);
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--clr-bg-page);
  color: var(--clr-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

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

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

button {
  cursor: pointer;
}

/* Utility Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 4.5rem 0;
}

/* ==========================================================================
   POSTER CARD DESIGN COMPONENT (Exact Match to Image)
   ========================================================================== */
.poster-card {
  background: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8rem 1.6rem 1.6rem 1.6rem;
  border: 1px solid var(--clr-border);
  margin: 0 auto;
  min-height: 520px;
  transition: var(--transition-normal);
}

.poster-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 35px -10px rgba(15, 30, 54, 0.22);
}

/* Poster Header */
.poster-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 5;
}

.poster-brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--clr-brand-red);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.poster-dots-cyan {
  display: flex;
  gap: 4px;
  margin-top: 4px;
}

.poster-dots-cyan span {
  width: 6px;
  height: 6px;
  background-color: var(--clr-brand-cyan);
  border-radius: 50%;
}

.poster-top-right-accents {
  position: relative;
}

.poster-plus-black {
  font-family: sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #0f172a;
}

.poster-top-green-ring {
  position: absolute;
  top: -35px;
  right: -35px;
  width: 90px;
  height: 90px;
  border: 3px solid var(--clr-brand-green);
  border-radius: 50%;
  pointer-events: none;
}

/* Poster Body / Product Photo */
.poster-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  margin: 0.8rem 0;
  text-align: center;
}

.poster-img-container {
  width: 100%;
  max-width: 320px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto 1rem auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
  /* GPU LAYER: promote container to its own compositor layer to prevent
     opacity fade transitions from triggering layout recalculations */
  contain: layout style;
}

.poster-img-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
  transition: transform 0.3s ease, opacity 0.4s ease;
  /* GPU COMPOSITING: Opacity + transform animations bypass layout entirely */
  will-change: opacity;
  transform: translateZ(0);
}

.poster-card:hover .poster-img-container img {
  transform: scale(1.04);
}

.poster-product-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--clr-brand-blue);
  line-height: 1.25;
  max-width: 95%;
  text-transform: capitalize;
}

/* Graphic Decorative Elements */
.poster-side-dots-left {
  position: absolute;
  left: 12px;
  top: 45%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.poster-side-dots-left span {
  width: 5px;
  height: 5px;
  background-color: var(--clr-brand-cyan);
  border-radius: 50%;
}

.poster-side-dots-right {
  position: absolute;
  right: 12px;
  top: 25%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.poster-side-dots-right span {
  width: 5px;
  height: 5px;
  background-color: #0f172a;
  border-radius: 50%;
}

.poster-plus-blue {
  position: absolute;
  right: 20px;
  bottom: 45%;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--clr-brand-cyan);
}

.poster-plus-black-bottom {
  position: absolute;
  left: 25px;
  bottom: 25%;
  font-weight: 900;
  font-size: 1.2rem;
  color: #0f172a;
}

/* Poster Footer & Curved Wave */
.poster-footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: radial-gradient(circle at 50% 120%, #cbe3f7 0%, #e8f4fc 60%, transparent 100%);
  border-top-left-radius: 50% 30px;
  border-top-right-radius: 50% 30px;
  pointer-events: none;
  z-index: 1;
}

.poster-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 5;
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.tib-logo-badge {
  background: #ffffff;
  color: var(--clr-brand-blue);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1.5px solid var(--clr-brand-blue);
}

.tib-logo-ring {
  position: absolute;
  width: 130%;
  height: 130%;
  border: 1px solid rgba(0, 51, 204, 0.2);
  border-radius: 50%;
  top: -15%;
  left: -15%;
}

.tib-logo-text {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--clr-brand-blue);
  letter-spacing: 0.05em;
}

.poster-footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.order-now-btn {
  background: var(--clr-brand-red);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.35);
  transition: var(--transition-fast);
}

.order-now-btn:hover {
  background: #b0021e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 4, 41, 0.5);
}

.poster-website-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--clr-brand-blue);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   NAVIGATION & HEADER STYLES
   ========================================================================== */
.top-bar {
  background: var(--clr-navy-dark);
  color: #ffffff;
  padding: 0.4rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.lang-btn {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.lang-btn.active, .lang-btn:hover {
  color: #ffffff;
  background: var(--clr-brand-blue);
}

.main-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--clr-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

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

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--clr-navy-dark);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--clr-brand-blue);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-navy-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--clr-brand-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-brand-blue);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Mega Dropdown Taxonomy */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 280px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  border: 1px solid var(--clr-border);
  z-index: 1100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 0.65rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-navy-main);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--clr-bg-secondary);
  color: var(--clr-brand-blue);
  padding-left: 1.7rem;
}

.dropdown-item i {
  color: var(--clr-brand-blue);
  width: 20px;
  text-align: center;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--clr-navy-dark);
  background: transparent;
}

/* ==========================================================================
   HERO SECTION STYLES
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--clr-navy-dark);
  color: #ffffff;
  padding: 4rem 0;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 0.35;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 19, 41, 0.92) 0%, rgba(15, 30, 54, 0.85) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 232, 0.15);
  color: var(--clr-brand-cyan);
  border: 1px solid rgba(0, 168, 232, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.18;
}

.hero-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2.2rem;
  max-width: 90%;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Button Component Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--clr-brand-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 34, 204, 0.3);
}

.btn-primary:hover {
  background: #001899;
  transform: translateY(-2px);
}

.btn-amber {
  background: var(--clr-brand-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.3);
}

.btn-amber:hover {
  background: #b0021e;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #0e833f;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14, 131, 63, 0.35);
}

.btn-whatsapp:hover {
  background: #09612e;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--clr-brand-blue);
  color: var(--clr-brand-blue);
}

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

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* Search Bar Component */
.search-strip {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: -30px;
  position: relative;
  z-index: 50;
  border: 1px solid var(--clr-border);
}

.search-box-flex {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--clr-bg-page);
  transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
  border-color: var(--clr-brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 34, 204, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
}

.category-select {
  padding: 0.85rem 1.2rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background: var(--clr-bg-secondary);
  font-weight: 600;
  color: var(--clr-text-main);
  cursor: pointer;
}

/* Catalog Section */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  color: var(--clr-brand-blue);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  color: var(--clr-navy-dark);
  margin-bottom: 0.8rem;
}

.section-desc {
  color: var(--clr-text-muted);
  font-size: 1rem;
}

.catalog-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tab-btn {
  padding: 0.6rem 1.3rem;
  background: var(--clr-bg-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.tab-btn:hover {
  border-color: var(--clr-brand-blue);
  color: var(--clr-brand-blue);
}

.tab-btn.active {
  background: var(--clr-brand-blue);
  border-color: var(--clr-brand-blue);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-brand-blue);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--clr-brand-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  z-index: 5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-img-wrapper {
  height: 230px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--clr-bg-secondary);
}

.product-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.06);
}

.product-info {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-brand-blue);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--clr-navy-dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.product-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--clr-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

/* Footer Section */
.main-footer {
  background: var(--clr-navy-dark);
  color: var(--clr-text-light);
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #0e833f;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(14, 131, 63, 0.4);
  z-index: 990;
  transition: var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background: #09612e;
}

/* Modals & AI Chat Consultant */
.modal-overlay {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 19, 41, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.floating-ai-consultant {
  position: fixed;
  bottom: 92px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--clr-brand-blue), var(--clr-brand-red));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 34, 204, 0.4);
  z-index: 990;
  cursor: pointer;
  transition: var(--transition-fast);
}

.floating-ai-consultant:hover {
  transform: scale(1.1);
}

.ai-chat-box {
  position: fixed;
  bottom: 160px;
  right: 24px;
  width: 380px;
  max-width: 90vw;
  height: 480px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--clr-border);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.ai-chat-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ai-chat-header {
  background: var(--clr-navy-dark);
  color: #ffffff;
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.88rem;
  background: var(--clr-bg-page);
}

.chat-msg {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  max-width: 85%;
  line-height: 1.5;
}

.chat-msg.bot {
  background: #ffffff;
  border: 1px solid var(--clr-border);
  color: var(--clr-navy-dark);
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--clr-brand-blue);
  color: #ffffff;
  align-self: flex-end;
}

.ai-chat-input-row {
  display: flex;
  padding: 0.8rem;
  border-top: 1px solid var(--clr-border);
  background: #ffffff;
  gap: 0.5rem;
}

.ai-chat-input-row input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--clr-border);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100%;
    padding: 0.5rem 0 0 1rem;
    display: none;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown.active .dropdown-menu {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 2rem auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .section-padding {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0.6rem 0;
  }

  .top-bar-content {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
  }

  .top-bar-info {
    justify-content: center;
    width: 100%;
    gap: 0.6rem;
  }

  .top-bar-actions {
    justify-content: center;
    width: 100%;
    font-size: 0.78rem;
  }

  .header-container {
    height: 70px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.65rem;
  }

  .hero-section {
    min-height: auto;
    padding: 2.5rem 0;
  }

  .hero-container {
    padding: 1rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .search-strip {
    margin-top: -15px;
    padding: 1rem;
    border-radius: var(--radius-sm);
  }

  .search-box-flex {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .search-input-wrapper, .category-select, #searchBtn {
    width: 100%;
  }

  .catalog-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 0.4rem;
  }

  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  .poster-card {
    padding: 1.2rem 1rem;
    min-height: auto;
    max-width: 100%;
    border-radius: var(--radius-md);
  }

  .poster-brand-title {
    font-size: 0.95rem;
  }

  .poster-product-name {
    font-size: 1.05rem;
  }

  .poster-img-container {
    height: 160px;
    max-width: 100%;
    margin: 0.4rem auto 0.8rem auto;
    padding: 0.4rem;
  }

  .poster-footer-wave {
    height: 90px;
  }

  .tib-logo-badge {
    width: 44px;
    height: 44px;
  }

  .tib-logo-text {
    font-size: 1rem;
  }

  .order-now-btn {
    font-size: 0.72rem;
    padding: 0.3rem 0.85rem;
  }

  .poster-website-link {
    font-size: 0.78rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
  }

  .product-img-wrapper {
    height: 180px;
  }

  .product-info {
    padding: 1rem;
  }

  .product-title {
    font-size: 0.98rem;
  }

  #tentang .container > div:first-of-type {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  #tentang div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .main-footer {
    padding-top: 3rem;
  }

  .main-footer .container > div:first-of-type {
    grid-template-columns: 1fr !important;
    gap: 2.2rem !important;
  }

  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .floating-ai-consultant {
    bottom: 74px;
    right: 16px;
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }

  .ai-chat-box {
    bottom: 130px;
    right: 12px;
    width: calc(100vw - 24px);
    height: 420px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .poster-card {
    padding: 1rem 0.8rem;
  }

  .poster-img-container {
    height: 150px;
  }
}

#poster-showcase, #tentang, #footer-contact, .footer-bottom {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

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