/* ==========================================================================
   MAY & TAP FOOD'S - UI COMPONENTS & FLOATING PILL NAVBAR REDESIGN
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FLOATING PILL NAVBAR (FUTURE FOODS / GCAB STYLE)
   -------------------------------------------------------------------------- */
.floating-nav-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 4%;
}

.floating-navbar {
  pointer-events: auto;
  width: 100%;
  max-width: var(--container-max);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide Desktop Menu Links at top of page */
@media (min-width: 993px) {
  .nav-links-desktop,
  .nav-actions-desktop {
    opacity: 0;
    pointer-events: none;
    max-width: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, transform 0.35s ease, max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Reveal Desktop Menu Links on Scroll */
  .floating-navbar.scrolled {
    width: 92%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 30px rgba(0, 77, 117, 0.12);
    border-radius: var(--radius-full);
    padding: 0.35rem 0.75rem 0.35rem 1.25rem;
  }

  .floating-navbar.scrolled .nav-links-desktop,
  .floating-navbar.scrolled .nav-actions-desktop {
    opacity: 1;
    pointer-events: auto;
    max-width: 900px;
    transform: translateY(0);
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 52px;
}

.brand-logo img {
  height: 100%;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.04);
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.nav-link-pill {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.nav-link-pill:hover,
.nav-link-pill.active {
  background-color: var(--color-primary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(0, 77, 117, 0.3);
}

.nav-actions-desktop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Select (Modern Glassmorphic Pill) */
.lang-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(0, 77, 117, 0.08);
  border: 1px solid rgba(0, 77, 117, 0.22);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.75rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.lang-select-wrapper:hover,
.lang-select-wrapper:focus-within {
  background: rgba(0, 77, 117, 0.14);
  border-color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 77, 117, 0.15);
}

.lang-select-icon {
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-right: 0.4rem;
  pointer-events: none;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  cursor: pointer;
  padding-right: 1.25rem;
  margin: 0;
}

.lang-select option {
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  padding: 0.5rem;
}

.lang-select-chevron {
  position: absolute;
  right: 0.65rem;
  font-size: 0.65rem;
  color: var(--color-primary);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.lang-select-wrapper:hover .lang-select-chevron {
  transform: translateY(1px);
}

.mobile-lang-select-wrapper {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 1rem;
}

.mobile-lang-select-wrapper .lang-select {
  font-size: 0.95rem;
  padding-right: 1.5rem;
}

/* Mobile Hamburger Toggle Button */
.mobile-toggle-btn {
  display: none;
  border: none;
  background: rgba(0, 77, 117, 0.08);
  color: var(--color-primary);
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-fast);
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.mobile-toggle-btn:hover {
  background: var(--color-primary);
  color: white;
}

/* Mobile Dropdown Menu (Future Foods Style with Frosted Blur) */
#mobile-menu {
  position: fixed;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: 92%;
  max-width: 480px;
  border-radius: var(--radius-md);
  background: rgba(0, 77, 117, 0.86);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.45s ease-in-out, opacity 0.45s ease-in-out, visibility 0.45s 0s;
}

#mobile-menu.menu-open {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  transition: max-height 0.45s ease-in-out, opacity 0.45s ease-in-out, visibility 0s 0s;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 1.5rem;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.25s ease, padding-left 0.25s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--color-primary-dark);
  padding-left: 1.8rem;
}

.mobile-menu-actions {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.12);
}

/* --------------------------------------------------------------------------
   2. BUTTONS & UI UTILITIES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: none;
  text-decoration: none;
  touch-action: manipulation;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(0, 77, 117, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 77, 117, 0.35);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(81, 58, 58, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(81, 58, 58, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 2px solid rgba(0, 77, 117, 0.2);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(0, 77, 117, 0.05);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. HERO SECTION (GCAB & SEED EDITORIAL STYLE WITH FLOATING CAPSULES)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 88vh;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  opacity: 0.92;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
}

.brand-eyebrow-wrapper {
  margin-bottom: 1.25rem;
}

.brand-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: rgba(0, 77, 117, 0.07);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 77, 117, 0.15);
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.hero-dash-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-dash-line {
  width: 34px;
  height: 2px;
  background: var(--color-secondary);
  display: inline-block;
}

.hero-description {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 77, 117, 0.12);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--color-primary);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-media-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-frasco-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ambient-circle {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 77, 117, 0.12) 0%, rgba(56, 189, 248, 0.05) 50%, transparent 70%);
  filter: blur(25px);
  z-index: 1;
  pointer-events: none;
}

.hero-frasco-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 25px 35px rgba(0, 40, 70, 0.28));
  animation: hero-frasco-float 6s ease-in-out infinite;
  will-change: transform;
}

/* Floating interactive credential badges */
.hero-floating-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 77, 117, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: hero-badge-float 5s ease-in-out infinite;
}

.hero-floating-badge.badge-iso {
  top: 12%;
  left: -8%;
  animation-delay: -1.5s;
}

.hero-floating-badge.badge-coa {
  bottom: 8%;
  right: -5%;
  animation-delay: -3s;
}

.badge-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 77, 117, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.badge-text-box strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-text-box span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .hero-bg-media {
    width: 100%;
    opacity: 0.22;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-gcab-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-dash-sub {
    justify-content: center;
  }
  .hero-metrics-bar {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-frasco-stage {
    margin: 0 auto;
    max-width: 340px;
  }
  .hero-floating-badge.badge-iso {
    left: 0;
  }
  .hero-floating-badge.badge-coa {
    right: 0;
  }
}

/* MARQUEE TICKER */
.ticker-marquee {
  position: relative;
  z-index: 10;
  background: linear-gradient(90deg, #421828 0%, #632239 50%, #3a1322 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 18px rgba(35, 12, 21, 0.35);
  color: white;
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  animation: marqueeScroll 28s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.ticker-item i {
  color: var(--color-accent-teal);
}

/* --------------------------------------------------------------------------
   4. INDUSTRIES PANORAMA SECTION (Refero / Expansive Visual Panels)
   -------------------------------------------------------------------------- */
.industries-panorama-section {
  position: relative;
  background: var(--bg-white);
  overflow: hidden;
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
}

.industries-panorama-section .section-header {
  margin-bottom: 0.85rem;
  text-align: center;
}

.industries-panorama-section .badge-pill {
  margin-bottom: 0.4rem;
}

.industries-panorama-section .section-title {
  margin-bottom: 0.35rem;
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
}

.industries-panorama-section .section-subtitle {
  margin-bottom: 0;
  font-size: 0.95rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.industries-panorama-flex {
  display: flex;
  gap: 14px;
  min-height: 520px;
  align-items: stretch;
  margin-top: 1.25rem;
}

.ind-panorama-panel {
  flex: 1;
  min-width: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #0f172a;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease, box-shadow 0.4s ease;
}

.ind-panorama-panel:hover {
  flex: 1.45;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14) !important;
}

.ind-panorama-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.ind-panorama-panel:hover .ind-panorama-bg {
  transform: scale(1.18);
}

.ind-panorama-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.38) 45%, rgba(10, 18, 30, 0.95) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ind-panorama-panel:hover .ind-panorama-gradient {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.42) 40%, rgba(10, 18, 30, 0.96) 100%);
}

.ind-panorama-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 1.6rem 1.8rem 1.6rem;
  color: #ffffff;
}

.ind-panorama-index {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

.ind-panorama-bottom {
  display: flex;
  flex-direction: column;
}

.ind-panorama-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 0.5rem 0;
}

.ind-panorama-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0 0 1.15rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ind-panorama-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #38bdf8;
  transition: transform 0.25s ease, color 0.25s ease;
}

.ind-panorama-panel:hover .ind-panorama-action {
  color: #ffffff;
  transform: translateX(5px);
}

.ind-panorama-action i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.ind-panorama-panel:hover .ind-panorama-action i {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .industries-panorama-flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
    gap: 14px;
  }
  .ind-panorama-panel {
    height: 380px;
  }
  .ind-panorama-panel:nth-child(5) {
    grid-column: span 2;
    height: 320px;
  }
}

@media (max-width: 640px) {
  .industries-panorama-flex {
    grid-template-columns: 1fr;
  }
  .ind-panorama-panel {
    height: 320px;
  }
  .ind-panorama-panel:nth-child(5) {
    grid-column: span 1;
  }
}

/* --------------------------------------------------------------------------
   5. PRODUCT CATALOG SECTION
   -------------------------------------------------------------------------- */
.catalog-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.search-box {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 77, 117, 0.2);
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* Color-coded Sector Category Tab Buttons */
.tab-btn[data-category=all] {
  border-color: rgba(32, 76, 112, 0.25);
  color: #204c70;
  background: rgba(32, 76, 112, 0.05);
}
.tab-btn[data-category=all]:hover,
.tab-btn[data-category=all].active {
  background: linear-gradient(135deg, #163752 0%, #204c70 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(32, 76, 112, 0.35);
  transform: translateY(-2px);
}

.tab-btn[data-category=food] {
  border-color: rgba(16, 185, 129, 0.3);
  color: #059669;
  background: rgba(16, 185, 129, 0.06);
}
.tab-btn[data-category=food]:hover,
.tab-btn[data-category=food].active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.tab-btn[data-category=pharma] {
  border-color: rgba(2, 132, 199, 0.3);
  color: #0284c7;
  background: rgba(2, 132, 199, 0.06);
}
.tab-btn[data-category=pharma]:hover,
.tab-btn[data-category=pharma].active {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.tab-btn[data-category=nutra] {
  border-color: rgba(217, 119, 6, 0.3);
  color: #d97706;
  background: rgba(217, 119, 6, 0.06);
}
.tab-btn[data-category=nutra]:hover,
.tab-btn[data-category=nutra].active {
  background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
  transform: translateY(-2px);
}

.tab-btn[data-category=cosmetic] {
  border-color: rgba(139, 92, 246, 0.3);
  color: #7c3aed;
  background: rgba(139, 92, 246, 0.06);
}
.tab-btn[data-category=cosmetic]:hover,
.tab-btn[data-category=cosmetic].active {
  background: linear-gradient(135deg, #6d28d9 0%, #8b5cf6 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
  transform: translateY(-2px);
}

.tab-btn[data-category=herbal] {
  border-color: rgba(16, 185, 129, 0.35);
  color: #047857;
  background: rgba(16, 185, 129, 0.07);
}
.tab-btn[data-category=herbal]:hover,
.tab-btn[data-category=herbal].active {
  background: linear-gradient(135deg, #065f46 0%, #059669 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. BESPOKE CLEAN RECTANGULAR PRODUCT CATALOG (OFFICIAL BRAND PALETTE)
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding-top: 1.5rem;
}

/* Square / Rectangular Uniform Product Card */
.product-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(32, 76, 112, 0.12);
  border-color: rgba(32, 76, 112, 0.28);
}

/* Card Visual Header Stage */
.product-card-media {
  position: relative;
  width: 100%;
  height: 245px;
  background: #f8fafc;
  overflow: hidden;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

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

/* Floating Clean Badges */
.product-card-chips {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.product-category-chip {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(32, 76, 112, 0.9);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-cas-chip {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e293b;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Card Body */
.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.product-card-specs {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 500;
}

.product-card-meta i {
  color: var(--color-primary);
  margin-right: 0.35rem;
}

/* Action Buttons (Original Brand Teal-Navy Palette) */
.product-card-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.btn-card-spec {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 0.75rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-card-spec:hover {
  background: #f8fafc;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn-card-quote {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 0.85rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(32, 76, 112, 0.2);
}

.btn-card-quote:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(32, 76, 112, 0.3);
}

.btn-card-quote.is-added {
  background: #059669 !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25) !important;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Modal Drawer for Specifications */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 28, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-window {
  background: var(--bg-white);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-window {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-muted);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--color-primary);
  color: var(--bg-white);
}

/* Quote Cart Drawer */
/* Navbar Compact Quote Button */
.nav-quote-btn {
  padding: 0 0.85rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  gap: 0.45rem !important;
  border-radius: 9999px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  border: 1px solid var(--color-primary) !important;
  color: var(--color-primary) !important;
  background: transparent !important;
  transition: all 0.25s ease !important;
  line-height: 1 !important;
}

.nav-quote-btn:hover {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(32, 76, 112, 0.2);
}

.nav-quote-btn:hover .cart-count-pill {
  background: #ffffff !important;
  color: var(--color-primary) !important;
}

.nav-quote-btn > i {
  font-size: 0.82rem !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.nav-quote-btn > span[data-i18n] {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.cart-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background: var(--color-primary);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  margin: 0 0 0 0.15rem;
  vertical-align: middle;
  position: relative;
  top: 0;
  transition: all 0.2s ease;
}

.cart-count-pill:empty,
.cart-count-pill[data-count="0"],
.cart-count-pill.is-hidden {
  display: none !important;
}

/* Quote Drawer */
.quote-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -12px 0 35px rgba(0, 0, 0, 0.22);
  z-index: 2500;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.quote-drawer.active {
  right: 0;
}

.quote-drawer-header {
  padding: 1.25rem 1.5rem;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.quote-drawer-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}

.quote-drawer-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quote-drawer-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.quote-drawer-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Empty State */
.quote-empty-state {
  text-align: center;
  padding: 3.5rem 1.25rem;
  color: #64748b;
  margin: auto;
}

.quote-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--color-primary);
  margin: 0 auto 1.25rem auto;
  opacity: 0.85;
}

.quote-empty-state h4 {
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.quote-empty-state p {
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Cart Subheader Bar */
.quote-drawer-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #64748b;
}

.btn-clear-cart {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s ease;
}

.btn-clear-cart:hover {
  color: #dc2626;
}

/* Cart Items */
.quote-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote-drawer-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.quote-drawer-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.quote-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}

.quote-item-info {
  flex: 1;
  min-width: 0;
}

.quote-item-cat {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.quote-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.2rem 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-item-cas {
  font-size: 0.75rem;
  color: #64748b;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-item-remove {
  background: #fee2e2;
  border: none;
  color: #ef4444;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.quote-item-remove:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Cart Footer Actions */
.quote-drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-drawer-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-drawer-whatsapp:hover {
  background: #1fa851;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-drawer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-drawer-contact:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: var(--transition-bounce);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   FOOTER (RESTORED DARK THEME WITH SUBTLE WATERMARK TEXTURE)
   ========================================================================== */
.footer-dark-textured {
  background-color: #07101c;
  background-image: radial-gradient(circle at 10% 20%, rgba(0, 168, 150, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
  padding-top: 4.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Subtle background logo watermark for rich texture */
.footer-watermark-texture {
  position: absolute;
  right: 18%;
  top: 45%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  background-image: url('../assets/logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.05;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 1;
}

.footer-main-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  align-items: flex-start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo-badge {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.footer-brand-img {
  height: 52px;
  width: auto;
  display: block;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  max-width: 340px;
}

.footer-iso-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
  max-width: fit-content;
}

.footer-iso-card img {
  height: 44px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: 3px 5px;
  border-radius: 6px;
}

.footer-iso-card strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-iso-card span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.footer-social-btn:hover {
  background: #00a896;
  border-color: #00a896;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 168, 150, 0.35);
  color: #ffffff;
}

/* Nav Columns: Sitemap, Legales & Teléfonos, Ubicación & Bodega */
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.footer-block-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.footer-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-block-list li {
  margin-bottom: 0.5rem;
}

.footer-block-list a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 1.55;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-block-list a:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.footer-text-entry {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.15rem;
}

/* Bottom Dark Bar (Seamless with footer background) */
.footer-bottom-dark {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  padding: 1.25rem 0;
  font-size: 0.8rem;
  position: relative;
  z-index: 2;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-dark p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-dark a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.footer-bottom-dark a:hover {
  color: #38bdf8;
}

@media (max-width: 992px) {
  .footer-main-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile Queries (< 992px) */
@media (max-width: 992px) {
  .floating-nav-wrapper {
    padding: 0;
  }
  .floating-navbar {
    width: 92%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow-pill);
    border-radius: var(--radius-full);
    padding: 0.4rem 0.75rem 0.4rem 1.25rem;
  }
  .nav-links-desktop,
  .nav-actions-desktop {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: flex !important;
  }
  .hero-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.22;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* Stakeholder Chip Tags */
.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chip-tag:hover {
  transform: translateY(-1px);
}

.chip-tag.primary {
  background: rgba(32, 76, 112, 0.08);
  color: var(--color-primary);
}

.chip-tag.secondary {
  background: rgba(68, 48, 56, 0.08);
  color: var(--color-secondary);
}

.chip-tag.teal {
  background: rgba(0, 168, 150, 0.08);
  color: #00a896;
}

.chip-tag.amber {
  background: rgba(217, 119, 6, 0.08);
  color: #d97706;
}

/* Social Media Icon Buttons */
.social-links-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.social-icon-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  border-color: transparent;
  color: #ffffff;
}

.social-icon-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.social-icon-btn.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

/* Light variant for white section (Contact section) */
.social-icon-btn.light {
  background: var(--bg-white);
  color: var(--color-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.social-icon-btn.light.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  color: #ffffff;
  border-color: transparent;
}

.social-icon-btn.light.facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}


/* Sector Tags for Industry Cards */
.sector-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}

.sector-tag.food {
  background: rgba(234, 88, 12, 0.28);
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.45);
}

.sector-tag.cosmetic {
  background: rgba(219, 39, 119, 0.28);
  color: #f472b6;
  border: 1px solid rgba(244, 114, 182, 0.45);
}

.sector-tag.herbal {
  background: rgba(16, 185, 129, 0.28);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.sector-tag.nutra {
  background: rgba(37, 99, 235, 0.28);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.45);
}

.sector-tag.pharma {
  background: rgba(2, 132, 199, 0.28);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.45);
}

/* Category-specific Product Tags */
.product-tag.tag-food {
  background: rgba(234, 88, 12, 0.1);
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.product-tag.tag-cosmetic {
  background: rgba(219, 39, 119, 0.1);
  color: #be185d;
  border: 1px solid rgba(219, 39, 119, 0.25);
}

.product-tag.tag-herbal {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.product-tag.tag-nutra {
  background: rgba(37, 99, 235, 0.1);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.product-tag.tag-pharma {
  background: rgba(2, 132, 199, 0.1);
  color: #0369a1;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

/* Catalog Grid Wrapper & Smooth Fade-Out Mask */
.catalog-grid-wrapper {
  position: relative;
  width: 100%;
}

.catalog-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  background: linear-gradient(
    to bottom,
    rgba(248, 250, 252, 0) 0%,
    rgba(248, 250, 252, 0.55) 30%,
    rgba(248, 250, 252, 0.92) 70%,
    rgba(248, 250, 252, 1) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1.5rem;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.catalog-fade-overlay.catalog-fade-hidden {
  position: static;
  height: auto;
  background: transparent;
  padding-top: 2.5rem;
  padding-bottom: 0;
}

/* Borderless "Ver más" CTA Button */
.load-more-btn-borderless {
  pointer-events: auto;
  border: none !important;
  outline: none !important;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 28px rgba(32, 76, 112, 0.14);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.load-more-btn-borderless:hover {
  background: #ffffff;
  color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(32, 76, 112, 0.22);
}

.load-more-btn-borderless i {
  font-size: 0.88rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.load-more-btn-borderless:hover i {
  transform: translateY(3px);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   MOBILE RESPONSIVE STYLES (SMARTPHONES & TABLETS)
   ========================================================================== */

@media (max-width: 768px) {
  /* Category Tabs Responsive Pill Wrap on Mobile */
  .category-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.45rem 0.35rem !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    padding: 0 0.25rem !important;
    overflow: visible !important;
  }

  .tab-btn {
    flex: 0 1 auto !important;
    font-size: 0.76rem !important;
    padding: 0.45rem 0.85rem !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  /* Section Padding for Mobile */
  .section-padding {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.85rem !important;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Hero Section Mobile */
  .hero {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
  }

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

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

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
    padding: 1.25rem 0.5rem;
    margin-top: 2rem;
  }

  .hero-metrics-bar .metric-item {
    align-items: center;
    text-align: center;
  }

  .hero-metrics-bar .metric-item:last-child {
    grid-column: span 2;
  }

  .form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  /* Bento Grid Mobile Fallback */
  .bento-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  /* Contact Grid Mobile */
  #contact .container > div {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  #contact form {
    padding: 1.5rem !important;
  }

  /* Quote Drawer Mobile */
  .quote-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Floating WhatsApp on mobile */
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
    font-size: 1.65rem;
  }

  /* Modal Specification Mobile */
  .modal-backdrop {
    padding: 0.75rem;
  }

  .modal-window {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
    max-height: 92vh;
  }
}

@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ticker-track {
    gap: 2rem;
  }

  .ticker-item {
    font-size: 0.78rem;
  }

  .about-tripartite-item {
    gap: 1rem;
    padding: 1.25rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }

  .hero-frasco-stage {
    max-width: 290px;
    margin: 0 auto;
  }

  .hero-ambient-circle {
    width: 280px;
    height: 280px;
  }

  .hero-floating-badge {
    padding: 0.45rem 0.75rem;
    gap: 0.5rem;
  }

  .hero-floating-badge strong {
    font-size: 0.75rem;
  }

  .hero-floating-badge span {
    font-size: 0.65rem;
  }

  .hero-metrics-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-metrics-bar .metric-item:last-child {
    grid-column: span 1;
  }

  .brand-logo {
    height: 44px;
  }

  .brand-logo img {
    max-height: 44px;
  }

  #contact form {
    padding: 1.25rem 1rem !important;
  }
}

/* Contact Section: Advisor Cutout Person Showcase */
.contact-advisor-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.contact-advisor-figure-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
  flex-shrink: 0;
  margin-bottom: 1.75rem;
}

.contact-advisor-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 230px;
  height: 270px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.16) 0%, rgba(0, 77, 117, 0.05) 70%, transparent 100%);
  border-radius: 50%;
  z-index: 1;
}

.contact-advisor-full {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 22px rgba(0, 77, 117, 0.2));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.contact-advisor-figure-wrapper:hover .contact-advisor-full {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 18px 28px rgba(0, 77, 117, 0.28));
}

@media (max-width: 768px) {
  .contact-advisor-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-advisor-figure-wrapper {
    margin: 0 auto 1.5rem auto;
    order: -1;
  }
}

/* ==========================================================================
   ABOUT SECTION: EDITORIAL LAYOUT (REFERO STYLE - NO CARDS FOR TRIPARTITE)
   ========================================================================== */
.about-editorial-section {
  background: #fafaf8;
  color: #0f172a;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.about-hero-block {
  max-width: 820px;
  margin: 0 auto 3.75rem auto;
  text-align: center;
}

.about-kicker-pill {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: rgba(32, 76, 112, 0.08);
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(32, 76, 112, 0.15);
}

.about-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem 0;
}

.about-main-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin: 0 auto;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.about-visual-col {
  display: flex;
  flex-direction: column;
  position: relative;
}

.about-image-frame-wrapper {
  position: relative;
  padding: 12px;
}

.about-corner-bracket {
  position: absolute;
  width: 68px;
  height: 68px;
  pointer-events: none;
  z-index: 3;
}

.about-corner-bracket.top-left {
  top: 0;
  left: 0;
  border-top: 2px solid var(--color-primary-light);
  border-left: 2px solid var(--color-primary-light);
  border-top-left-radius: 20px;
}

.about-corner-bracket.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid var(--color-primary-light);
  border-right: 2px solid var(--color-primary-light);
  border-bottom-right-radius: 20px;
}

.about-dot-matrix {
  position: absolute;
  bottom: -18px;
  left: -8px;
  width: 75px;
  height: 32px;
  background-image: radial-gradient(var(--color-primary-light) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.about-image-frame {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  background: #f8fafc;
  z-index: 2;
}

.about-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-image-frame:hover .about-frame-img {
  transform: scale(1.03);
}

/* Timeline Streamline Column (Misión, Visión, Objetivo) */
.about-timeline-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-left: 2.75rem;
}

.about-timeline-line {
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: 32px;
  width: 1.5px;
  background: #e2e8f0;
}

.about-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

.timeline-dot {
  position: absolute;
  left: -2.75rem;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-dot.dot-blue,
.timeline-dot.dot-cyan {
  background: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-glow);
}

.timeline-num {
  font-family: 'Space Grotesk', 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-timeline-item:nth-child(3) .timeline-num,
.about-timeline-item:nth-child(4) .timeline-num {
  color: var(--color-primary);
}

.timeline-content {
  display: flex;
  flex-direction: column;
}

.timeline-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.timeline-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
  font-weight: 400;
}

/* Value Chain Matrix */
.about-chain-block {
  padding-top: 2.5rem;
  border-top: 1px solid #e5e7eb;
}

.about-chain-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.about-chain-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.45rem 0;
}

.about-chain-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
}

.about-chain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.about-chain-cell {
  display: flex;
  flex-direction: column;
  padding-top: 1.25rem;
  border-top: 3px solid #007775;
  transition: transform 0.3s ease;
}

.about-chain-cell:nth-child(1) {
  border-top-color: #007775; /* Teal Principal */
}
.about-chain-cell:nth-child(1) .chain-cell-index {
  color: #007775;
}

.about-chain-cell:nth-child(2) {
  border-top-color: #b45309; /* Café Cálido / Ámbar */
}
.about-chain-cell:nth-child(2) .chain-cell-index {
  color: #b45309;
}

.about-chain-cell:nth-child(3) {
  border-top-color: #0284c7; /* Azul Sanitario / Regulatorio */
}
.about-chain-cell:nth-child(3) .chain-cell-index {
  color: #0284c7;
}

.about-chain-cell:nth-child(4) {
  border-top-color: #059669; /* Verde Inocuidad / Personal */
}
.about-chain-cell:nth-child(4) .chain-cell-index {
  color: #059669;
}

.about-chain-cell:hover {
  transform: translateY(-3px);
}

.chain-cell-index {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.chain-cell-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.45rem 0;
}

.chain-cell-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 991px) {
  .about-editorial-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-frame {
    height: 360px;
    border-radius: 20px !important;
  }
  .about-frame-img {
    border-radius: 20px !important;
  }
  .about-timeline-col {
    padding-left: 2rem;
    gap: 2.25rem;
  }
  .timeline-dot {
    left: -2rem;
  }
  .about-chain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .about-chain-grid {
    grid-template-columns: 1fr;
  }
  .about-image-frame-wrapper {
    padding: 8px;
  }
  .about-image-frame {
    height: 250px;
    border-radius: 18px !important;
  }
  .about-frame-img {
    border-radius: 18px !important;
  }
  .about-corner-bracket {
    width: 45px;
    height: 45px;
  }
  .about-timeline-item {
    grid-template-columns: 46px 1fr;
    gap: 1.15rem;
  }
  .timeline-num {
    font-size: 1.9rem;
  }
  .timeline-title {
    font-size: 1.05rem;
  }
  .timeline-text {
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   QUALITY & CERTIFICATIONS
   ========================================================================== */
.quality-section-wrapper {
  background: linear-gradient(135deg, #07101c 0%, #0f1c2e 100%) !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}

/* ISO 9001 Prestige Showcase (Open Design - NO CARD) */
.iso-prestige-showcase {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-bottom: 3.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.iso-showcase-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.iso-emblem-halo {
  width: 230px;
  height: 230px;
  background: #ffffff;
  border-radius: 28px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.25), 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.iso-emblem-halo:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 55px rgba(56, 189, 248, 0.35), 0 22px 46px rgba(0, 0, 0, 0.45);
}

.iso-emblem-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}


.iso-showcase-info {
  display: flex;
  flex-direction: column;
}

.iso-showcase-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.iso-eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fbbf24;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.iso-auditor-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 600;
}

.iso-showcase-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.85rem 0;
}

.iso-showcase-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.75rem 0;
  max-width: 720px;
}

.iso-showcase-desc strong {
  color: #ffffff;
  font-weight: 600;
}

/* Open 3-Pillar Streamline (NO BOXED CARDS) */
.iso-pillars-streamline {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.iso-streamline-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.iso-streamline-icon {
  font-size: 1.25rem;
  color: #fbbf24;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.iso-streamline-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.iso-streamline-text span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.iso-streamline-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* NOM Cards Grid */
.nom-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.nom-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nom-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(56, 189, 248, 0.12);
}

.nom-card:hover::before {
  opacity: 1;
}

.nom-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.nom-code-badge {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nom-sector-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.nom-sector-badge.food {
  background: rgba(249, 115, 22, 0.18);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.35);
}

.nom-sector-badge.pharma {
  background: rgba(14, 165, 233, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.35);
}

.nom-sector-badge.nutra {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.nom-sector-badge.cosmetic {
  background: rgba(236, 72, 153, 0.18);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.nom-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.nom-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
}

.nom-card-foot {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nom-foot-chip {
  font-size: 0.74rem;
  font-weight: 600;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 900px) {
  .iso-prestige-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .iso-showcase-media {
    margin: 0 auto;
  }
  .iso-showcase-topbar {
    justify-content: center;
  }
  .iso-pillars-streamline {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .iso-streamline-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .iso-emblem-halo {
    width: 155px;
    height: 155px;
    padding: 1rem;
    border-radius: 20px;
  }
  .iso-showcase-title {
    font-size: 1.65rem;
  }
  .iso-showcase-desc {
    font-size: 0.92rem;
  }
}

/* ==========================================================================
   FACILITIES & INFRASTRUCTURE GALLERY
   ========================================================================== */
.gallery-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border: none !important;
  outline: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.gallery-span-wide {
  grid-column: span 6;
  height: 380px;
}

.gallery-span-third {
  grid-column: span 4;
  height: 400px;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 992px) {
  .gallery-span-wide,
  .gallery-span-third {
    grid-column: span 6;
    height: 320px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .gallery-span-wide,
  .gallery-span-third {
    grid-column: span 1;
    height: 260px;
  }
}

/* Pure Edge-to-Edge Lightbox Modal */
.gallery-lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 12, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

.gallery-lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-container {
  position: relative;
  max-width: 96vw;
  max-height: 94vh;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox-backdrop.active .gallery-lightbox-container {
  transform: scale(1);
}

.gallery-lightbox-counter-pill {
  position: absolute;
  top: 20px;
  left: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 10;
}

.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.gallery-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.9);
  transform: rotate(90deg);
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.gallery-lightbox-nav:hover {
  background: #204c70;
  border-color: #38bdf8;
  transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox-nav.prev {
  left: 20px;
}

.gallery-lightbox-nav.next {
  right: 20px;
}

.gallery-lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.gallery-lightbox-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.gallery-lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  display: block;
  user-select: none;
}


