/* ==========================================================================
   LALOM — HIGH FIDELITY B2B E-COMMERCE DESIGN SYSTEM
   Premium Light Theme with Solid Contrast Navy Header and Sector Colors
   ========================================================================== */

:root {
  /* Core Brand Colors */
  --header-bg: hsl(215, 45%, 11%); /* Dark Navy Contrast */
  --header-green: #013d2b; /* Dark Forest Green Accent */
  --header-footer-bg: #013d2b; /* Dark Forest Green for header/footer fill */
  --green-light-bg: #eaf6ec; /* Sage/Mint light green background */
  --green-light-border: #ccead4; /* Sage/Mint light green border */
  --header-text: hsl(210, 20%, 98%);
  --header-text-hover: hsl(38, 92%, 52%); /* Gold hover */
  
  --bg-white: hsl(0, 0%, 100%);
  --bg-light: hsl(210, 16%, 97%); /* Premium B2B light gray background */
  --border-light: hsl(210, 14%, 90%);
  --border-dark: hsl(210, 10%, 75%);

  --text-primary: hsl(215, 20%, 15%);
  --text-secondary: hsl(215, 10%, 40%);
  --text-muted: hsl(215, 8%, 55%);
  
  /* Sector Specific Colors */
  --sector-agro: hsl(150, 65%, 32%); /* Green */
  --sector-agro-hover: hsl(150, 65%, 26%);
  --sector-agro-light: hsl(150, 50%, 94%);
  --sector-agro-border: hsl(150, 40%, 82%);

  --sector-mineria: hsl(38, 95%, 46%); /* Yellow/Amber */
  --sector-mineria-hover: hsl(38, 95%, 38%);
  --sector-mineria-light: hsl(38, 70%, 94%);
  --sector-mineria-border: hsl(38, 60%, 82%);

  --sector-construccion: hsl(207, 95%, 40%); /* Royal Blue */
  --sector-construccion-hover: hsl(207, 95%, 32%);
  --sector-construccion-light: hsl(207, 70%, 94%);
  --sector-construccion-border: hsl(207, 60%, 82%);

  --accent-red: hsl(0, 72%, 46%);
  --accent-red-hover: hsl(0, 72%, 38%);
  
  /* Typo & Layout Tokens */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Futura', 'Jost', 'Century Gothic', sans-serif;

  --font-xs: clamp(0.7rem, 0.12vw + 0.67rem, 0.78rem);
  --font-sm: clamp(0.8rem, 0.16vw + 0.76rem, 0.88rem);
  --font-base: clamp(0.875rem, 0.2vw + 0.82rem, 0.98rem);
  --font-lg: clamp(0.98rem, 0.25vw + 0.92rem, 1.15rem);
  --font-xl: clamp(1.2rem, 0.5vw + 1.05rem, 1.45rem);
  --font-2xl: clamp(1.5rem, 1vw + 1.25rem, 2.1rem);
  --font-3xl: clamp(1.8rem, 1.8vw + 1.4rem, 2.6rem);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);

  --transition-fast: 0.15s ease;
  --transition-med: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── BASE RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: var(--font-base);
  background: var(--bg-light);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--header-green); }

/* ══════════════════════════════════════
   STICKY HEADER
   ══════════════════════════════════════ */
.main-header {
  position: sticky;
  top: 0;
  background: var(--header-footer-bg);
  color: var(--header-text);
  z-index: 1000;
  padding: calc(14px + env(safe-area-inset-top, 0px)) env(safe-area-inset-right, 0px) 14px env(safe-area-inset-left, 0px);
  box-shadow: var(--shadow-md);
  transition: background var(--transition-fast);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo Lalom - Imponente y Protagónico */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.header-logo:hover {
  transform: scale(1.03);
}
.logo-mark {
  display: flex;
  align-items: center;
}
.logo-img-brand {
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: inline-block;
  vertical-align: middle;
  transition: filter var(--transition-fast);
}
.header-logo .logo-img-brand {
  height: 44px;
  width: 44px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
.lalom360-modal-logo .logo-img-brand { height: 28px; width: 28px; }
.footer-logo-area .logo-img-brand { height: 36px; width: 36px; }
.logo-name-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
.header-logo .logo-name-img {
  height: 32px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.footer-logo-area .logo-name-img {
  height: 28px;
}
.logo-info {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}
.logo-tagline {
  font-size: 0.58rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* Navigation Menu */
.header-nav {
  flex-shrink: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--header-text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-link:hover {
  color: var(--header-text-hover);
}
.nav-link-products .dropdown-chevron-icon {
  transition: transform 0.2s ease;
  opacity: 0.8;
}
.dropdown-trigger:hover .nav-link-products .dropdown-chevron-icon {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--header-text-hover);
}

/* Dropdown Menu */
.dropdown-trigger {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  padding: 16px;
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.nav-dropdown-mega {
  display: flex;
  gap: 24px;
  min-width: 440px;
}
.dropdown-trigger:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dropdown-heading {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 6px;
}
.dropdown-link {
  display: block;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.dropdown-link:hover {
  background: #f1f5f9;
  color: var(--header-green);
}
.sector-link-agro:hover { color: var(--sector-agro); }
.sector-link-mineria:hover { color: var(--sector-mineria); }
.sector-link-const:hover { color: var(--sector-construccion); }

/* Search Box */
.header-search {
  flex: 1;
  max-width: 450px;
  display: flex;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.header-search:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--green-light-border);
}
.header-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.8rem;
  outline: none;
}
.header-search input::placeholder {
  color: hsla(210, 20%, 90%, 0.6);
}
.header-search button {
  padding: 0 12px;
  color: var(--header-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}
.header-search button:hover {
  color: var(--header-text-hover);
}

/* Autocomplete Box */
.autocomplete-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-dark);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}
.autocomplete-item {
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--text-primary);
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.autocomplete-item:hover {
  background: var(--bg-light);
}
.autocomplete-sku {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.7rem;
  background: var(--bg-light);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Quoting Cart */
.header-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  min-height: 44px;
}
.header-cart:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  transform: translateY(-1px);
}

/* Punto 3: Differentiated Header Buttons */
.header-cart-quote {
  background: linear-gradient(135deg, rgba(1, 61, 43, 0.45) 0%, rgba(1, 61, 43, 0.8) 100%);
  border: 1.5px solid rgba(229, 169, 18, 0.6);
  box-shadow: 0 2px 8px rgba(1, 61, 43, 0.3);
}
.header-cart-quote:hover {
  background: linear-gradient(135deg, rgba(1, 61, 43, 0.7) 0%, rgba(2, 87, 61, 0.95) 100%);
  border-color: #e5a912;
  box-shadow: 0 4px 12px rgba(229, 169, 18, 0.25);
}
.header-cart-quote .badge-quote-b2b {
  background: #e5a912;
  color: #0b0f19;
  font-weight: 900;
}

.header-cart-shopping {
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.15) 0%, rgba(255, 119, 0, 0.3) 100%);
  border: 1.5px solid rgba(255, 152, 0, 0.5);
}
.header-cart-shopping:hover {
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.3) 0%, rgba(255, 119, 0, 0.5) 100%);
  border-color: #ff9800;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.25);
}
.header-cart-shopping .badge-shopping-cart {
  background: #ff7700;
  color: #fff;
  font-weight: 900;
}

#btn-desktop-login {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

#btn-desktop-login:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--header-bg);
}
.cart-text {
  font-size: 0.8rem;
  font-weight: 700;
}

/* Hamburger menu button */
.menu-hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}
.menu-hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ── MOBILE NAV PANEL ── */
.mobile-navigation-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1500;
}
.mobile-navigation-overlay.open {
  display: block;
}
.mobile-navigation-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(280px, 85vw);
  height: 100%;
  background: var(--bg-white);
  box-shadow: -5px 0 20px rgba(0,0,0,0.15);
  padding: calc(20px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px)) 20px;
  display: flex;
  flex-direction: column;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 12px;
}
.mobile-nav-title {
  font-weight: 800;
  font-size: 1.1rem;
}
.mobile-nav-close {
  font-size: 1.6rem;
  color: var(--text-secondary);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav-item {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav-category {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 10px;
}
.mobile-nav-subitem {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-left: 2px solid var(--border-light);
  margin-left: 4px;
}
.mobile-nav-subitem:hover {
  border-color: var(--header-green);
  color: var(--header-green);
}

/* ── MOBILE NAV TOP ACTIONS (Cotización y Carrito) ── */
.mobile-nav-top-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1.5px solid var(--border-light);
}

.mobile-nav-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  transition: all var(--transition-fast);
}

.mobile-action-quote {
  background: linear-gradient(135deg, rgba(1, 61, 43, 0.1) 0%, rgba(1, 61, 43, 0.22) 100%);
  border: 1.5px solid rgba(229, 169, 18, 0.7);
  color: var(--header-green);
}

.mobile-action-cart {
  background: linear-gradient(135deg, rgba(255, 119, 0, 0.1) 0%, rgba(255, 119, 0, 0.22) 100%);
  border: 1.5px solid rgba(255, 152, 0, 0.65);
  color: #c25e00;
}

.mobile-nav-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
}

.mobile-action-quote .mobile-nav-badge {
  background: #e5a912;
  color: #0b0f19;
}

.mobile-action-cart .mobile-nav-badge {
  background: #ff7700;
  color: #ffffff;
}

/* ══════════════════════════════════════
   HERO VIDEO HEADER (Proporciones Compactas Desktop + Tron Adaptive)
   ══════════════════════════════════════ */
.hero-video-section {
  position: relative;
  height: 56vh;
  min-height: 420px;
  max-height: 520px;
  overflow: hidden;
  background: var(--header-bg);
  display: flex;
  align-items: center;
}
.hero-poster-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: translateZ(0);
}
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 15, 25, 0.86) 0%, rgba(20, 25, 36, 0.78) 50%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 2;
}
.hero-video-container {
  position: relative;
  z-index: 3;
}
.hero-video-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  animation: heroFadeUp 0.8s var(--transition-med) forwards;
}
.hero-video-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  width: fit-content;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}
.hero-video-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 2.3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-video-slogan {
  font-size: clamp(0.9rem, 1.4vw, 1.12rem);
  font-weight: 600;
  color: #a8f5ac;
  line-height: 1.35;
}
.hero-video-desc {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.85);
  max-width: 54ch;
  line-height: 1.5;
}
.hero-video-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.btn-video-primary {
  padding: 10px 20px;
  background: var(--header-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.btn-video-primary:hover {
  background: hsl(116, 78%, 14%);
  transform: translateY(-2px);
}
.btn-video-secondary {
  padding: 9px 18px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.btn-video-secondary:hover {
  background: #fff;
  color: var(--header-bg);
  transform: translateY(-2px);
}

@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   SECTOR BANNERS (Vertical Cards)
   ══════════════════════════════════════ */
.sector-banners-section {
  padding: 44px 0;
  background: var(--bg-white);
}
.section-title {
  margin-bottom: 24px;
}
.section-title h2 {
  font-family: var(--font-display);
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--header-green);
  margin-bottom: 6px;
}
.section-title p {
  color: var(--text-secondary);
  font-size: var(--font-sm);
}

.sector-banners-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sector-horizontal-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 310px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  border: none !important;
  transform: translateZ(0);
}
.sector-horizontal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.sector-card-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Specific background styles for activity panels - Top border accent */
.card-agro { border-top: 5px solid var(--sector-agro); }
.card-agro .sector-card-visual { background: linear-gradient(135deg, hsl(150, 45%, 85%) 0%, hsl(150, 40%, 93%) 100%); }

.card-mineria { border-top: 5px solid var(--sector-mineria); }
.card-mineria .sector-card-visual { background: linear-gradient(135deg, hsl(38, 75%, 85%) 0%, hsl(38, 65%, 93%) 100%); }

.card-construccion { border-top: 5px solid var(--sector-construccion); }
.card-construccion .sector-card-visual { background: linear-gradient(135deg, hsl(207, 75%, 85%) 0%, hsl(207, 65%, 93%) 100%); }

.sector-visual-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.15) 100%);
  z-index: 2;
}
.sector-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform var(--transition-med);
}
.sector-horizontal-card:hover .sector-visual-img {
  transform: scale(1.06);
}

.sector-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 52px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-sizing: border-box;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.3);
}

.sector-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0;
  transition: transform 0.4s ease;
}

.sector-card-info p {
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sector-action {
  display: block;
  width: 100%;
  padding: 0 12px;
  max-height: 0;
  overflow: hidden;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), padding 0.45s cubic-bezier(0.16, 1, 0.3, 1), background var(--transition-fast);
}

/* Hover Reveals */
.sector-horizontal-card:hover .sector-card-info {
  height: 100%;
  min-height: 100%;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sector-horizontal-card.card-agro:hover .sector-card-info {
  background: rgba(15, 82, 10, 0.88);
}
.sector-horizontal-card.card-mineria:hover .sector-card-info {
  background: rgba(212, 143, 56, 0.92);
}
.sector-horizontal-card.card-construccion:hover .sector-card-info {
  background: rgba(11, 76, 140, 0.9);
}

.sector-horizontal-card:hover .sector-card-info p {
  opacity: 1;
  max-height: 120px;
  margin-top: 6px;
}
.sector-horizontal-card:hover .btn-sector-action {
  opacity: 1;
  max-height: 44px;
  padding: 10px;
  transform: translateY(0);
}
.btn-agro { background: var(--sector-agro); }
.btn-agro:hover { background: var(--sector-agro-hover); }
.btn-mineria { background: var(--sector-mineria); }
.btn-mineria:hover { background: var(--sector-mineria-hover); }
.btn-construccion { background: var(--sector-construccion); }
.btn-construccion:hover { background: var(--sector-construccion-hover); }
.btn-sector-action:hover {
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   BRANDS SECTION (Compact Desktop)
   ══════════════════════════════════════ */
.brands-section {
  padding: 36px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.brands-carousel-container {
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 15%, white 85%, transparent);
}
.brands-carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: brandsInfiniteMarquee 24s linear infinite;
}
.brands-carousel-track:hover {
  animation-play-state: paused;
}
.brands-carousel-track .brand-box {
  width: 270px;
  flex-shrink: 0;
  margin: 0;
}
@keyframes brandsInfiniteMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}
.brand-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.brand-box:hover {
  transform: translateY(-2px);
  border-color: var(--header-green);
}
.brand-img-logo {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}
.brand-box:hover .brand-img-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ══════════════════════════════════════
   VISTA CATALOGO
   ══════════════════════════════════════ */
.catalog-section {
  padding: 40px 0 60px 0;
  background: var(--bg-light);
  min-height: 80vh;
}
.catalog-header {
  margin-bottom: 30px;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 20px;
}
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--header-green);
  margin-bottom: 14px;
  transition: color var(--transition-fast);
}
.btn-back-home:hover {
  color: hsl(116, 78%, 14%);
}
.catalog-header h2 {
  font-family: var(--font-display);
  font-size: var(--font-2xl);
  font-weight: 900;
  color: var(--header-green);
}
.catalog-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.catalog-layout {
  display: flex;
  gap: 30px;
}

/* Sidebar filter controls */
.catalog-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  box-shadow: var(--shadow-sm);
}
.catalog-sidebar h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--header-bg);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.sidebar-checkbox-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  transition: color var(--transition-fast);
  padding: 4px 0;
  width: 100%;
}
.filter-checkbox-label:hover {
  color: var(--text-primary);
}
.filter-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
  font-weight: 700;
}
.filter-checkbox-label input {
  display: none;
}
.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-dark);
  border-radius: 4px;
  position: relative;
  transition: all var(--transition-fast);
  background: var(--bg-white);
}
.filter-checkbox-label input:checked + .checkbox-custom {
  background: var(--header-green);
  border-color: var(--header-green);
}
.filter-checkbox-label input:checked + .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.filter-checkbox-label input:focus + .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(3, 166, 120, 0.2);
}

.sidebar-note {
  font-size: 0.68rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  line-height: 1.5;
}

/* Catalog Main Grid */
.catalog-main {
  flex: 1;
}
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Product Cards */
.catalog-product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  min-height: 300px;
}
.catalog-product-card.sector-agro {
  border-top: 4px solid var(--sector-agro);
}
.catalog-product-card.sector-mineria {
  border-top: 4px solid var(--sector-mineria);
}
.catalog-product-card.sector-construccion {
  border-top: 4px solid var(--sector-construccion);
}
.catalog-product-card.sector-multisector {
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--sector-agro) 0%, var(--sector-mineria) 50%, var(--sector-construccion) 100%) 1;
}
.catalog-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Card Visual Header */
.product-visual-wrapper {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}
.catalog-product-card.sector-agro .product-visual-wrapper { background: linear-gradient(135deg, hsl(150, 45%, 92%) 0%, hsl(150, 40%, 96%) 100%); }
.catalog-product-card.sector-mineria .product-visual-wrapper { background: linear-gradient(135deg, hsl(38, 70%, 92%) 0%, hsl(38, 60%, 96%) 100%); }
.catalog-product-card.sector-construccion .product-visual-wrapper { background: linear-gradient(135deg, hsl(207, 70%, 92%) 0%, hsl(207, 60%, 96%) 100%); }

.visual-emoji {
  font-size: 3.5rem;
}
.product-sku-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Card Info Content */
.product-content-wrapper {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.prod-cat-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.prod-title-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--header-bg);
  line-height: 1.35;
}
.prod-short-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Specifications Chips */
.prod-specifications-chips {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prod-specifications-chips span {
  font-size: 0.65rem;
  color: var(--text-secondary);
  display: block;
}

/* Card Button */
.btn-add-quote {
  width: 100%;
  padding: 10px;
  color: #fff;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: auto;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.sector-agro .btn-add-quote { background: var(--sector-agro); }
.sector-agro .btn-add-quote:hover { background: var(--sector-agro-hover); }
.sector-mineria .btn-add-quote { background: var(--sector-mineria); }
.sector-mineria .btn-add-quote:hover { background: var(--sector-mineria-hover); }
.sector-construccion .btn-add-quote { background: var(--sector-construccion); }
.sector-construccion .btn-add-quote:hover { background: var(--sector-construccion-hover); }

/* ══════════════════════════════════════
   CONTACT & B2B SERVICES SECTION
   ══════════════════════════════════════ */
.contact-section {
  padding: 60px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}
.contact-header-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}
.contact-header-centered h2 {
  font-family: var(--font-display);
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--header-green);
  margin-top: 10px;
  line-height: 1.15;
}
.contact-header-centered p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 10px;
}

.contact-form-col-centered {
  background: var(--green-light-bg);
  border: 1px solid var(--green-light-border);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin: 0 auto 30px auto;
}

.contact-channels-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 850px) {
  .contact-channels-horizontal {
    grid-template-columns: 1fr;
  }
}

.services-callout-horizontal {
  background: var(--green-light-bg);
  border: 1px solid var(--green-light-border);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.services-callout-text h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--header-green);
  margin-bottom: 2px;
}
.services-callout-text p {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin: 0;
}
.btn-portal-open-horizontal {
  padding: 8px 14px;
  background: var(--header-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-portal-open-horizontal:hover {
  background: hsl(116, 78%, 14%);
}
.contact-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--header-green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.contact-info-col h2 {
  font-family: var(--font-display);
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--header-green);
  line-height: 1.15;
}
.contact-info-col p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-block: 10px;
}
.channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--green-light-bg);
  border: 1px solid var(--green-light-border);
  padding: 14px 20px;
  border-radius: var(--radius-md);
}
.channel-icon {
  font-size: 1.5rem;
}
.channel-text span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.channel-text a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--header-green);
}

.services-callout {
  background: var(--green-light-bg);
  border: 1px solid var(--green-light-border);
  padding: 20px;
  border-radius: var(--radius-md);
}
.services-callout h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--header-green);
  margin-bottom: 6px;
}
.services-callout p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}
.btn-portal-open {
  padding: 8px 16px;
  background: var(--header-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.btn-portal-open:hover {
  background: hsl(116, 78%, 14%);
}

/* Contact Form Column */
.contact-form-col {
  background: var(--green-light-bg);
  border: 1px solid var(--green-light-border);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--header-green);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 8px;
}
.contact-form-subtitle {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  margin-top: -12px;
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.input-group label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--header-green);
}
.input-group input, .input-group select, .input-group textarea {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  padding: 10px 14px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast);
  color: var(--text-primary);
  width: 100%;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
  border-color: var(--header-green);
}

/* Quoted Items in Form */
.floating-quote-list-container {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--accent-red);
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.form-label-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.floating-quote-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 4px;
}
.quote-pill-element {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--text-primary);
}
.remove-quote-item-btn {
  font-size: 1rem;
  color: var(--accent-red);
  font-weight: 700;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--header-green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition-fast);
}
.btn-submit:hover {
  background: hsl(116, 78%, 14%);
}

/* ══════════════════════════════════════
   LALOM360 PORTAL MODAL
   ══════════════════════════════════════ */
.lalom360-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lalom360-modal-overlay.open {
  display: flex;
}
.lalom360-modal-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 90%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.lalom360-modal-header {
  padding: 20px 24px;
  border-bottom: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.lalom360-modal-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.l360-logo-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--header-bg);
}
.l360-logo-title strong {
  font-weight: 800;
  color: var(--sector-construccion);
}
.lalom360-modal-close {
  font-size: 1.8rem;
  color: var(--text-secondary);
}

.lalom360-modal-body {
  padding: 24px;
}
.lalom360-intro-header {
  margin-bottom: 20px;
}
.lalom360-intro-header h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--header-bg);
}
.lalom360-intro-header p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.lalom360-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.f360-dashboard-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: var(--radius-md);
}
.f360-db-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}
.f360-db-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--header-bg);
  margin-block: 4px;
}
.f360-db-trend {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.lalom360-tabs-area {
  border-top: 1.5px solid var(--border-light);
  padding-top: 20px;
}
.lalom360-tabs-buttons {
  margin-bottom: 12px;
}
.lalom360-tab-btn {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--header-green);
  background: var(--green-light-bg);
  border-radius: var(--radius-sm);
}

.lalom360-table {
  width: 100%;
  border-collapse: collapse;
}
.lalom360-table th {
  text-align: left;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-light);
  padding: 8px 10px;
}
.lalom360-table td {
  font-size: 0.75rem;
  padding: 10px;
  border-bottom: 1px solid var(--border-light);
}
.stock-status {
  font-size: 0.625rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.status-optimo { background: var(--sector-agro-light); color: var(--sector-agro); }
.status-critico { background: hsl(0, 100%, 94%); color: var(--accent-red); }

/* ── TOAST NOTIFICATIONS ── */
.b2b-toast-notify {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--header-bg); color: #fff;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  box-shadow: var(--shadow-lg); z-index: 5000;
  animation: toastFadeIn 0.3s ease, toastFadeOut 0.3s ease 2.2s forwards;
  border-left: 4px solid var(--accent-red);
}
@keyframes toastFadeIn { from { opacity: 0; transform: translateY(15px); } }
@keyframes toastFadeOut { to { opacity: 0; transform: translateY(15px); } }

/* ══════════════════════════════════════
   FOOTER SECTION
   ══════════════════════════════════════ */
.site-footer {
  background: var(--header-footer-bg);
  color: #ffffff;
  font-family: 'Futura', 'Jost', 'Century Gothic', sans-serif;
  padding: 50px env(safe-area-inset-right, 0px) calc(20px + env(safe-area-inset-bottom, 0px)) env(safe-area-inset-left, 0px);
  border-top: 2px solid rgba(255, 255, 255, 0.05);
}
.site-footer * {
  color: #ffffff !important;
}
.site-footer a:hover,
.site-footer a:hover * {
  color: var(--header-text-hover) !important;
}
.footer-social-links {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.footer-social-links a {
  color: var(--header-text);
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast), opacity var(--transition-fast), transform var(--transition-fast);
}
.footer-social-links a:hover {
  color: var(--header-text-hover);
  opacity: 1;
  transform: translateY(-2px);
}
.footer-columns-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 30px;
  margin-bottom: 20px;
}
.footer-brand-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
}
.footer-brand-description {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.05em;
  border-bottom: 1.5px solid rgba(255,255,255,0.1);
  padding-bottom: 4px;
  margin-bottom: 4px;
}
.footer-nav-link-item {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}
.footer-nav-link-item:hover {
  color: var(--header-text-hover);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-tag {
  font-weight: 700;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}
.catalog-product-card:hover .product-card-img {
  transform: scale(1.03);
}

.prod-specs-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 4px;
  margin-bottom: 4px;
}
.prod-price-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--header-green);
  margin-top: 2px;
  margin-bottom: 8px;
}
.prod-price-label.price-quote {
  color: var(--text-muted);
  font-weight: 600;
}

/* ══════════════════════════════════════
   PRODUCT DETAIL VIEW STYLE
   ══════════════════════════════════════ */
.product-detail-section {
  padding: 50px 0;
  background: var(--bg-light);
}
.detail-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.btn-back-catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--header-green);
  font-weight: 700;
  font-size: var(--font-base);
  transition: transform var(--transition-fast);
  width: max-content;
}
.btn-back-catalog:hover {
  transform: translateX(-4px);
}
.detail-breadcrumbs {
  font-size: var(--font-sm);
  color: var(--text-muted);
}
.detail-breadcrumbs a {
  color: var(--text-muted);
}
.detail-breadcrumbs a:hover {
  color: var(--header-green);
  text-decoration: underline;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}
.detail-extra-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

/* Left Visual Column */
.detail-visual-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.detail-visual-main {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.detail-visual-main .detail-emoji {
  font-size: 8rem;
  user-select: none;
}
.detail-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.detail-gallery-thumb {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  overflow: hidden;
}
.detail-gallery-thumb:hover, .detail-gallery-thumb.active {
  border-color: var(--header-green);
  transform: scale(1.03);
}
.detail-gallery-thumb span {
  font-size: 2.2rem;
}
.detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Info Column */
.detail-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.detail-sector-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.detail-sector-badge.agro {
  background: var(--sector-agro-light);
  color: var(--sector-agro);
  border: 1px solid var(--sector-agro-border);
}
.detail-sector-badge.mineria {
  background: var(--sector-mineria-light);
  color: var(--sector-mineria);
  border: 1px solid var(--sector-mineria-border);
}
.detail-sector-badge.construccion {
  background: var(--sector-construccion-light);
  color: var(--sector-construccion);
  border: 1px solid var(--sector-construccion-border);
}
.detail-sector-badge.multisector {
  background: var(--bg-light);
  color: var(--text-primary);
  border: 1px solid var(--border-dark);
}
.detail-brand {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--header-green);
}
.detail-name {
  font-size: var(--font-3xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}
.detail-sku {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.detail-price-box {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--header-green);
  margin-top: 10px;
  margin-bottom: 5px;
}
.detail-price-box.price-quote {
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--text-muted);
}
.detail-description {
  color: var(--text-secondary);
  font-size: var(--font-base);
  line-height: 1.6;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0;
  align-items: center;
}
.detail-qty-container {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  overflow: hidden;
  height: 52px;
  box-shadow: var(--shadow-sm);
}
.btn-qty-adjust {
  background: transparent;
  border: none;
  width: 40px;
  height: 100%;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.btn-qty-adjust:hover {
  background: var(--border-light);
}
.detail-qty-input {
  width: 44px;
  height: 100%;
  border: none;
  background: var(--bg-white);
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  text-align: center;
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
}
.detail-qty-input::-webkit-outer-spin-button,
.detail-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.detail-qty-input[type=number] {
  -moz-appearance: textfield;
}
.btn-detail-quote {
  flex: 1;
  min-width: 180px;
  padding: 14px 20px;
  background: var(--header-green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-base);
  text-align: center;
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
}
.btn-detail-quote:hover {
  background: #02573d;
}
.btn-detail-quote.btn-agro {
  background: var(--sector-agro);
}
.btn-detail-quote.btn-agro:hover {
  background: var(--sector-agro-hover);
}
.btn-detail-quote.btn-mineria {
  background: var(--sector-mineria);
}
.btn-detail-quote.btn-mineria:hover {
  background: var(--sector-mineria-hover);
}
.btn-detail-quote.btn-construccion {
  background: var(--sector-construccion);
}
.btn-detail-quote.btn-construccion:hover {
  background: var(--sector-construccion-hover);
}
.btn-detail-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-base);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-detail-pdf:hover {
  background: var(--border-light);
}

/* Benefits Section */
.detail-benefits-box {
  padding-top: 0;
}
.detail-benefits-title {
  font-size: var(--font-lg);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.detail-benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}
.detail-benefit-item {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.detail-benefit-item:hover {
  border-color: var(--header-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.detail-benefit-icon {
  color: var(--header-green);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}
.detail-benefit-text {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Specs Table Section */
.detail-specs-box {
  padding-top: 0;
}
.detail-specs-title {
  font-size: var(--font-lg);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.detail-specs-table {
  width: 100%;
  border-collapse: collapse;
}
.detail-specs-table tr {
  border-bottom: 1px solid var(--border-light);
}
.detail-specs-table tr:nth-child(odd) {
  background: #ffffff;
}
.detail-specs-table tr:nth-child(even) {
  background: #f4f7f5;
}
.detail-specs-table td {
  padding: 12px 16px;
  font-size: var(--font-sm);
}
.detail-specs-label {
  font-weight: 700;
  color: var(--text-primary);
  width: 40%;
}
.detail-specs-value {
  color: var(--text-secondary);
}

/* Related section spacing */
.related-products-section {
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
  margin-top: 20px;
}
.related-products-section h3 {
  font-size: var(--font-xl);
  font-weight: 800;
  margin-bottom: 24px;
}

.product-card-link-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.btn-view-details {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--header-green);
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.catalog-product-card:hover .btn-view-details {
  transform: translateX(4px);
  color: #02573d;
}

/* Zoom controls style */
.detail-zoom-controls {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.detail-visual-main:hover .detail-zoom-controls {
  opacity: 1;
}
.btn-zoom-action {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  color: var(--header-bg);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  border: none;
}
.btn-zoom-action:hover {
  background: #fff;
  border-color: var(--header-green);
  transform: scale(1.08);
}
.detail-visual-main {
  position: relative;
  overflow: hidden;
}
.detail-visual-img {
  transition: transform 0.1s ease-out;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-gallery-thumb.video-thumb {
  position: relative;
}
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 2;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.detail-gallery-thumb.video-thumb:hover .video-play-overlay {
  background: var(--header-green);
  transform: translate(-50%, -50%) scale(1.1);
}

/* ══════════════════════════════════════
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ══════════════════════════════════════ */
@media (max-width: 992px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 30px;
  }
  .detail-visual-main {
    height: 300px;
  }
  .detail-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .detail-extra-info-row {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 30px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .catalog-layout {
    flex-direction: column;
  }
  .catalog-sidebar {
    width: 100%;
  }
  .sidebar-filters {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .filter-btn {
    flex: 1;
    min-width: 130px;
  }
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .header-search {
    display: flex;
    order: 10;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
  }
  .menu-hamburger-btn {
    display: flex;
  }
  .site-footer {
    padding-top: 40px;
  }
  .footer-columns-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sector-horizontal-card {
    height: 340px;
  }
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-benefits-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .catalog-products-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-video-content {
    align-items: center;
    text-align: center;
  }
}

/* ══════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════ */
.reveal-on-scroll { opacity: 1; transform: none;
  will-change: opacity, transform;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal-on-scroll.delay-1 { transition-delay: 0.1s; }
.reveal-on-scroll.delay-2 { transition-delay: 0.2s; }
.reveal-on-scroll.delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════
   PAGE VIEW TRANSITIONS
   ══════════════════════════════════════ */
.fade-in-view {
  animation: fadeInView 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}
@keyframes fadeInView {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════
   FLOATING CHAT WIDGET
   ══════════════════════════════════════ */
.chat-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
  font-family: var(--font-body);
}
.chat-widget-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--header-footer-bg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast);
  border: none;
  animation: gentleFloat 4s ease-in-out infinite;
}
.chat-widget-btn:hover {
  animation-play-state: paused;
  transform: scale(1.08) translateY(-2px);
  background: #02573d;
}
.chat-widget-box {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 28px);
  height: 530px;
  max-height: calc(100vh - 120px);
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-direction: column;
  overflow: hidden;
  animation: chatDeploy 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: bottom right;
  z-index: 10000;
}
.chat-widget-box.open {
  display: flex;
}
@keyframes chatDeploy {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.chat-widget-header {
  background: var(--header-footer-bg);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-header-info h4 {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
  letter-spacing: 0;
}
.chat-header-info span {
  font-size: 0.7rem;
  opacity: 0.9;
  color: #eaf6ec !important;
}
.chat-status-dot {
  width: 9px;
  height: 9px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}
.chat-close-btn {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  background: none;
  border: none;
  line-height: 1;
  padding: 4px;
}
.chat-close-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}
.chat-widget-messages {
  flex: 1;
  padding: 14px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
  scroll-behavior: smooth;
}
.chat-message {
  max-width: 92%;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  position: relative;
}
.chat-message.bot {
  background: var(--bg-white);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light);
}
.chat-message.bot p {
  margin: 0 0 6px 0;
}
.chat-message.bot p:last-child {
  margin-bottom: 0;
}
.chat-message.user {
  background: var(--header-green);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  box-shadow: 0 2px 8px rgba(1, 61, 43, 0.2);
}
.chat-message.user p {
  margin: 0;
}
.chat-time {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  margin-top: 5px;
  text-align: right;
}
.chat-message.user .chat-time {
  color: rgba(255, 255, 255, 0.75);
}

/* Technical Product Recommendation Card inside Chat */
.chat-product-card {
  margin-top: 8px;
  padding: 10px 12px;
  background: #f1f7f4;
  border: 1px solid #ccead4;
  border-radius: 8px;
}
.chat-product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.chat-product-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #013d2b;
}
.chat-product-card-sku {
  font-size: 0.65rem;
  background: #013d2b;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.chat-product-card-specs {
  font-size: 0.72rem;
  color: #4b5563;
  margin-bottom: 8px;
  line-height: 1.35;
}
.chat-product-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chat-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
}
.chat-card-btn-product {
  background: #013d2b;
  color: #ffffff;
  font-weight: 700;
}
.chat-card-btn-product:hover {
  background: #02573d;
  transform: translateY(-1px);
}
.chat-card-btn-cart {
  background: var(--header-green);
  color: #fff;
}
.chat-card-btn-cart:hover {
  background: #02573d;
}
.chat-card-btn-pdf {
  background: #ffffff;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.chat-card-btn-pdf:hover {
  background: #fff7ed;
  border-color: #ea580c;
}
.chat-card-btn-catalog {
  background: #ffffff;
  color: #0369a1;
  border: 1px solid #bae6fd;
}
.chat-card-btn-catalog:hover {
  background: #f0f9ff;
  border-color: #0284c7;
}

/* In-Chat Lead Capture Form */
.chat-lead-card {
  margin-top: 6px;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid #ccead4;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.chat-lead-card-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #013d2b;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.chat-lead-form-fields {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.chat-lead-input {
  width: 100%;
  padding: 5px 8px;
  font-size: 0.72rem;
  border: 1px solid var(--border-light);
  border-radius: 5px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}
.chat-lead-input:focus {
  border-color: var(--header-green);
  background: #fafdfb;
}
.chat-quick-chips {
  padding: 8px 10px;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chat-quick-chips::-webkit-scrollbar {
  display: none;
}
.chat-chip-btn {
  background: #ffffff;
  color: #013d2b;
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.chat-chip-btn:hover {
  background: #013d2b;
  color: #ffffff;
  border-color: #013d2b;
  transform: translateY(-1px);
}
.chat-card-btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  border: none;
}
.chat-card-btn-whatsapp:hover {
  background: #1eb956;
  color: #ffffff;
}
.chat-proforma-card {
  margin-top: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1.5px solid #013d2b;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(1, 61, 43, 0.08);
}
.chat-proforma-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 4px;
}
.chat-proforma-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #013d2b;
}
.chat-proforma-total {
  font-size: 0.95rem;
  font-weight: 900;
  color: #16a34a;
}
.chat-lead-submit {
  width: 100%;
  padding: 6px 10px;
  background: var(--header-green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background var(--transition-fast);
  margin-top: 1px;
}
.chat-lead-submit:hover {
  background: #02573d;
}
.chat-lead-success {
  padding: 8px 10px;
  background: #eaf6ec;
  border: 1px solid #a3d9b1;
  border-radius: 6px;
  color: #013d2b;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
}

/* Typing Indicator Animation */
.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  align-self: flex-start;
  width: fit-content;
}
.chat-typing-dot {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

.chat-widget-actions {
  padding: 8px 12px;
  background: #fff;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 5px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chat-widget-actions::-webkit-scrollbar {
  display: none;
}
.chat-suggest-btn {
  background: var(--green-light-bg);
  color: var(--header-green);
  border: 1px solid var(--green-light-border);
  padding: 5px 9px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.chat-suggest-btn:hover {
  background: var(--header-green);
  color: #fff;
  border-color: var(--header-green);
}
.chat-widget-input-area {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  background: #fff;
  padding: 8px 12px;
}
.chat-widget-input-area input {
  flex: 1;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  outline: none;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}
.chat-widget-input-area input:focus {
  border-color: var(--header-green);
}
.chat-send-btn {
  background: var(--header-footer-bg);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}
.chat-send-btn:hover {
  background: #02573d;
  transform: scale(1.06);
}

/* ══════════════════════════════════════
   PREMIUM ENTRANCE & FLOAT KEYFRAMES
   ══════════════════════════════════════ */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.page-loaded .hero-video-title {
  animation: heroFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
.page-loaded .hero-video-slogan {
  animation: heroFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.page-loaded .hero-video-desc {
  animation: heroFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.page-loaded .hero-video-actions {
  animation: heroFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

/* Dual action buttons styling */
.btn-detail-cart {
  flex: 1;
  min-width: 180px;
  padding: 14px 20px;
  background: var(--header-green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-base);
  text-align: center;
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
}
.btn-detail-cart.btn-agro { background: var(--sector-agro); }
.btn-detail-cart.btn-agro:hover { background: var(--sector-agro-hover); }
.btn-detail-cart.btn-mineria { background: var(--sector-mineria); }
.btn-detail-cart.btn-mineria:hover { background: var(--sector-mineria-hover); }
.btn-detail-cart.btn-construccion { background: var(--sector-construccion); }
.btn-detail-cart.btn-construccion:hover { background: var(--sector-construccion-hover); }
.btn-detail-cart.btn-multisector { background: var(--header-green); }
.btn-detail-cart.btn-multisector:hover { background: #02573d; }

.btn-detail-quote-outlined {
  flex: 1;
  min-width: 180px;
  padding: 12px 20px; /* offset for border */
  background: transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-base);
  text-align: center;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  border: 2px solid var(--header-green);
  color: var(--header-green);
}
.btn-detail-quote-outlined:hover {
  background: var(--header-green);
  color: #fff;
}
.btn-detail-quote-outlined.btn-agro {
  border-color: var(--sector-agro);
  color: var(--sector-agro);
}
.btn-detail-quote-outlined.btn-agro:hover {
  background: var(--sector-agro);
  color: #fff;
}
.btn-detail-quote-outlined.btn-mineria {
  border-color: var(--sector-mineria);
  color: var(--sector-mineria);
}
.btn-detail-quote-outlined.btn-mineria:hover {
  background: var(--sector-mineria);
  color: #fff;
}
.btn-detail-quote-outlined.btn-construccion {
  border-color: var(--sector-construccion);
  color: var(--sector-construccion);
}
.btn-detail-quote-outlined.btn-construccion:hover {
  background: var(--sector-construccion);
  color: #fff;
}
.btn-detail-quote-outlined.btn-multisector {
  border-color: var(--header-green);
  color: var(--header-green);
}
.btn-detail-quote-outlined.btn-multisector:hover {
  background: var(--header-green);
  color: #fff;
}

/* ══════════════════════════════════════
   SHOPPING CART SECTION (B2C Retail Checkout)
   ══════════════════════════════════════ */
.shopping-cart-section {
  padding: 50px 0 80px 0;
  background: var(--bg-light);
  min-height: 80vh;
}
.cart-header-navigation {
  margin-bottom: 30px;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 20px;
}
.cart-header-navigation h2 {
  font-family: var(--font-display);
  font-size: var(--font-2xl);
  font-weight: 900;
  color: var(--header-green);
  margin-top: 10px;
}
.cart-header-navigation p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.cart-layout-cols {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 992px) {
  .cart-layout-cols {
    grid-template-columns: 1fr;
  }
}
.cart-items-column {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.cart-items-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 20px;
}
.cart-items-header-bar h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}
.btn-clear-shopping-cart {
  font-size: 0.78rem;
  color: var(--accent-red);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.cart-summary-column .summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.cart-summary-metrics {
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid #edf2f7;
}
.summary-card h3 {
  font-size: var(--font-lg);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  border-bottom: 1.5px solid var(--border-light);
  padding-bottom: 10px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.summary-row.total-row {
  font-size: var(--font-base);
  font-weight: 800;
  color: var(--text-primary);
  border-top: 1.5px solid var(--border-light);
  padding-top: 12px;
  margin-top: 10px;
  margin-bottom: 24px;
}
.summary-row.total-row #cart-total {
  color: var(--header-green);
  font-size: var(--font-lg);
}
.checkout-billing-form {
  border-top: 1.5px solid var(--border-light);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-billing-form h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.btn-checkout-submit {
  width: 100%;
  padding: 14px;
  background: var(--header-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: var(--font-base);
  cursor: pointer;
  transition: background var(--transition-fast);
  margin-top: 10px;
  text-align: center;
}
.btn-checkout-submit:hover {
  background: #02573d;
}
.cart-empty-message {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}
.cart-empty-message p {
  margin-bottom: 16px;
}
.badge-shopping-cart {
  background: #ff7700 !important;
}

/* Success notice and B2B Printable PDF buttons */
.form-quote-success-notice {
  margin-top: 18px;
  background: #f4f7f5;
  border: 1px solid #dcdfdc;
  border-left: 4px solid var(--sector-agro);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  animation: fadeIn 0.4s ease-out;
}
.success-notice-text {
  color: var(--sector-agro);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.btn-download-pdf-doc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--header-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.btn-download-pdf-doc:hover {
  background: #02573d;
}

/* ==========================================================================
   FEATURED MACHINERY & TRUST BADGES (Van Gogh VG-4)
   ========================================================================== */
.featured-machinery-section {
  padding: 60px 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-tagline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--header-green);
  background: var(--green-light-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.featured-machinery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 50px;
}

.featured-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured-card-media {
  position: relative;
  height: 200px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-card-media img {
  max-height: 80%;
  max-width: 85%;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

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

.featured-badge-sector {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.badge-mineria { background: rgba(245, 158, 11, 0.15); color: #d97706; }
.badge-agro { background: rgba(16, 185, 129, 0.15); color: #059669; }
.badge-construccion { background: rgba(14, 165, 233, 0.15); color: #0284c7; }

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

.featured-card-sku {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.featured-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--header-green);
  line-height: 1.3;
  margin-bottom: 8px;
}

.featured-card-brand {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.featured-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.featured-card-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.btn-featured-view {
  padding: 8px 14px;
  background: var(--header-green);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.btn-featured-view:hover {
  background: #02573d;
}

/* ══════════════════════════════════════
   TOP PRODUCTS SHOWCASE (Dark Contrast + Continuous Infinite Marquee)
   ══════════════════════════════════════ */
.top-products-section {
  padding: 44px 0 46px;
  background: linear-gradient(180deg, #0a111c 0%, #060a12 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title-dark {
  margin-bottom: 24px;
}
.section-title-dark .benefits-pill-tag,
h2.benefits-pill-tag {
  display: inline-block;
  font-family: inherit;
  font-size: 0.72rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fef08a !important;
  background: rgba(254, 240, 138, 0.12);
  border: 1px solid rgba(254, 240, 138, 0.25);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin: 0 auto;
  line-height: 1.5;
}

.top-products-headline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 900;
  color: #ffffff;
  margin: 10px 0 6px;
  letter-spacing: -0.02em;
}

.top-products-subheadline {
  color: #94a3b8;
  font-size: var(--font-sm);
  max-width: 640px;
  margin: 0 auto 0 0;
  text-align: left;
}

.top-products-marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 16px 0 8px;
  mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 8%, white 92%, transparent);
}

.top-products-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: topProductsInfiniteMarquee 28s linear infinite;
  transform: translateZ(0);
}

.top-products-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes topProductsInfiniteMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-1248px); }
}

/* Product Detail Gallery Navigation Arrows */
.btn-detail-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(1, 61, 43, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.btn-detail-gallery-arrow:hover {
  background: var(--header-green);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.btn-arrow-prev {
  left: 12px;
}

.btn-arrow-next {
  right: 12px;
}

/* Quote IVA Included Notice */
.quote-iva-included-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 136, 92, 0.12);
  border: 1px solid rgba(27, 136, 92, 0.3);
  color: var(--sector-agro);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.top-product-card {
  width: 290px;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.top-product-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.top-product-sector-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.top-product-badge-mineria {
  background: rgba(229, 144, 5, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.top-product-badge-solar {
  background: rgba(10, 115, 194, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.top-product-badge-construccion {
  background: rgba(10, 115, 194, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.top-product-badge-agro {
  background: rgba(27, 136, 92, 0.18);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

.top-product-media {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.top-product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.top-product-card:hover .top-product-media img {
  transform: scale(1.08);
}

.top-product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.top-product-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-product-meta {
  font-size: 0.74rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.top-product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.top-product-price {
  font-size: 0.86rem;
  font-weight: 800;
  color: #f4a115;
}

.btn-top-product-quote {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: var(--header-green);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.btn-top-product-quote:hover {
  background: #02573d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 61, 43, 0.35);
}

/* Lalom360 Upcoming Product Badge & Button */
/* Lalom360 Upcoming Product Badge & Fullwidth Callout */
.services-callout-l360-full {
  display: block !important;
  width: 100%;
}

.services-callout-text-full {
  width: 100%;
}

.l360-top-left-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.l360-upcoming-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 1px solid #fbbf24;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
}

.services-callout-text-full h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--header-green);
  margin-bottom: 4px;
}

.services-callout-text-full p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  width: 100%;
}

/* Blog Hero Dynamic Article Reader Integration */
.blog-hero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #93c5fd !important;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.blog-hero-back-link:hover {
  color: #ffffff !important;
  transform: translateX(-3px);
}

#btn-portal-lalom360 {
  display: none !important;
}

/* ══════════════════════════════════════
   ADMIN LOGIN MODAL (DESKTOP & MOBILE)
   ══════════════════════════════════════ */
.admin-login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease-out;
}

.admin-login-modal-card {
  background: #ffffff;
  border-radius: 14px;
  width: min(440px, 94vw);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.admin-login-modal-header {
  background: #013d2b;
  color: #ffffff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-logo-mark {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 4px;
}

.admin-login-brand h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.admin-login-brand span {
  font-size: 0.75rem;
  color: #a8dec9;
  display: block;
}

.admin-login-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-fast);
}

.admin-login-close:hover {
  color: #ffffff;
}

.admin-login-form {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
}

.admin-form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.admin-form-group input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.admin-form-group input:focus {
  border-color: var(--header-green);
  box-shadow: 0 0 0 3px rgba(1, 61, 43, 0.12);
}

.admin-login-status-msg {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.admin-login-status-msg.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.btn-admin-submit-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--header-green);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
  box-sizing: border-box;
}

.btn-admin-submit-login:hover {
  background: #02573d;
  box-shadow: 0 4px 14px rgba(1, 61, 43, 0.25);
  transform: translateY(-1px);
}

/* ==========================================================================
   LEAD MAGNET MODAL: TECH SHEET (Chayanne CH-3)
   ========================================================================== */
.tech-sheet-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.tech-sheet-modal-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: min(520px, 94vw);
  box-sizing: border-box;
  padding: 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  border-top: 5px solid var(--header-green);
  overflow: hidden;
}

.tech-sheet-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
}

.tech-sheet-close-btn:hover {
  color: #0f172a;
}

.tech-sheet-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--header-green);
  background: var(--green-light-bg);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tech-sheet-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--header-green);
  margin-bottom: 6px;
}

.tech-sheet-header p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}

.tech-sheet-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

.form-group-sheet {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.form-group-sheet label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-group-sheet input {
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: border-color var(--transition-fast);
}

.form-group-sheet input:focus {
  outline: none;
  border-color: var(--header-green);
  box-shadow: 0 0 0 3px rgba(1, 61, 43, 0.1);
}

.form-row-sheet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .form-row-sheet {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

.tech-sheet-footer {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.btn-download-sheet-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: var(--header-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background var(--transition-fast);
  box-sizing: border-box;
}

.btn-download-sheet-submit:hover {
  background: #02573d;
}

.tech-sheet-privacy-note {
  font-size: 0.68rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ==========================================================================
   VAN GOGH INDUSTRIAL SUITE (Caterpillar Aesthetics, B2B Quote, Recursos, Mobile)
   ========================================================================== */

/* ── 1. CATERPILLAR INDUSTRIAL SETTINGS & MICRO-INTERACTIONS ── */
.btn-primary, .btn-submit, .btn-submit-b2b-quote, .btn-detail-add-quote, .btn-sector-action {
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.btn-submit-b2b-quote:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 61, 43, 0.35);
}

.b2b-product-card, .sector-horizontal-card, .trust-badge-card, .resource-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.b2b-product-card:hover, .resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -6px rgba(11, 15, 25, 0.12), 0 0 0 1px rgba(229, 169, 18, 0.3);
}

/* Industrial Input Focus with subtle amber/emerald glow */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #013d2b !important;
  box-shadow: 0 0 0 3px rgba(1, 61, 43, 0.12), 0 0 8px rgba(229, 169, 18, 0.2) !important;
}

/* ── 2. PHONE INPUT GROUP WITH COUNTRY PREFIX ── */
.phone-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: var(--radius-sm);
}

.phone-prefix-select {
  flex: 0 0 auto;
  max-width: 130px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.phone-input-group input {
  flex: 1;
  min-width: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

/* ── 3. REAL-TIME FIELD VALIDATION MESSAGES ── */
.field-error-msg {
  display: none;
  color: #dc2626;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.3;
}

.field-error-msg.visible {
  display: block;
}

input.input-invalid, select.input-invalid, textarea.input-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
}

input.input-valid, select.input-valid, textarea.input-valid {
  border-color: #10b981 !important;
}

/* ── 4. FEATURED MACHINERY CAROUSEL & CATEGORY FILTERS ── */
.featured-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.featured-category-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-featured-filter {
  padding: 8px 18px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-white);
  transition: all 0.2s ease;
  cursor: pointer;
  min-height: 38px;
}

.btn-featured-filter:hover {
  border-color: var(--header-green);
  color: var(--header-green);
}

.btn-featured-filter.active {
  background: var(--header-green);
  color: #fff;
  border-color: var(--header-green);
  box-shadow: 0 2px 8px rgba(1, 61, 43, 0.25);
}

.featured-nav-arrows, .resources-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-arrow-btn, .resources-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.featured-arrow-btn:hover, .resources-arrow-btn:hover {
  background: var(--header-green);
  color: #fff;
  border-color: var(--header-green);
  transform: scale(1.05);
}

/* ── 3. FEATURED MACHINERY SECTION (Contraste Gris Técnico) ── */
.featured-machinery-section {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 64px 0 54px;
}

/* Ocultamiento condicional del carrusel mientras se expande el catálogo */
.featured-machinery-hidden {
  display: none !important;
}

/* ── 4. INFINITE CONTINUOUS BANNER CAROUSELS (Vertical Reference Design) ── */
.carousel-infinite-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 28px 0 40px;
}

.carousel-infinite-viewport {
  overflow: hidden;
  width: 100%;
  padding: 12px 2px 20px;
}

.carousel-infinite-track {
  display: flex;
  gap: 24px;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Vertical Banner Cards: EXACT 3 cards per row on desktop */
.banner-card-vertical {
  flex: 0 0 calc((100% - (2 * 24px)) / 3);
  max-width: calc((100% - (2 * 24px)) / 3);
  box-sizing: border-box;
  min-height: 480px;
  border-radius: 26px;
  padding: 30px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  user-select: none;
}

.banner-card-vertical:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

/* Decorative ambient orb */
.banner-card-vertical::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* Sector & Theme Gradients */
.banner-theme-blue {
  background: linear-gradient(155deg, #3b82f6 0%, #1d4ed8 55%, #172554 100%);
}

.banner-theme-purple {
  background: linear-gradient(155deg, #9333ea 0%, #7e22ce 55%, #3b0764 100%);
}

.banner-theme-orange {
  background: linear-gradient(155deg, #f97316 0%, #ea580c 55%, #7c2d12 100%);
}

.banner-theme-emerald {
  background: linear-gradient(155deg, #10b981 0%, #059669 55%, #064e3b 100%);
}

.banner-theme-slate {
  background: linear-gradient(155deg, #475569 0%, #334155 55%, #0f172a 100%);
}

.banner-theme-amber {
  background: linear-gradient(155deg, #eab308 0%, #ca8a04 55%, #713f12 100%);
}

/* Banner Top Section (Headline) */
.banner-top-headline-box {
  position: relative;
  z-index: 2;
}

.banner-tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-card-headline {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Banner Middle Visual */
.banner-middle-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 16px 0;
  z-index: 2;
  min-height: 140px;
}

.banner-floating-img {
  max-height: 165px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.3));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-card-vertical:hover .banner-floating-img {
  transform: scale(1.06) translateY(-4px);
}

/* Floating Glassmorphism Pill */
.banner-glass-pill {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  padding: 14px 16px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.banner-pill-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}

.banner-pill-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.banner-pill-val.price-gold {
  color: #fef08a;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.btn-banner-action {
  width: 100%;
  padding: 10px 14px;
  margin-top: 10px;
  background: #ffffff;
  color: #0b0f19;
  font-weight: 800;
  font-size: 0.84rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-banner-action:hover {
  background: #fef08a;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Adjacent Navigation Arrows */
.carousel-adjacent-arrow {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--header-bg);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.carousel-adjacent-arrow:hover {
  background: var(--header-green);
  color: #ffffff;
  border-color: var(--header-green);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(1, 61, 43, 0.3);
}

.carousel-adjacent-arrow:active {
  transform: scale(0.95);
}

@media (max-width: 950px) {
  .banner-card-vertical {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 620px) {
  .carousel-adjacent-arrow {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .banner-card-vertical {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 420px;
    padding: 24px 20px;
  }
}

/* ── 5. CENTRO DE CONOCIMIENTO INDUSTRIAL (HOME PREVIEW - Compact Desktop) ── */
.resources-preview-section {
  padding: 44px 0 38px;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.resources-preview-header.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 20px;
}

.resources-preview-header.text-center h2 {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--header-bg);
  margin: 0;
  letter-spacing: -0.02em;
}

.btn-view-all-resources {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--header-green);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  background: var(--green-light-bg);
  border: 1px solid var(--green-light-border);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-view-all-resources:hover {
  background: var(--header-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 61, 43, 0.2);
}

/* Compact Resource Banner Card (Sin imagen, sólo titular y CTA - Proporciones Armónicas Desktop) */
.banner-card-compact-resource {
  min-height: 205px !important;
  height: 215px !important;
  padding: 18px 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  border-radius: 16px !important;
  transform: translateZ(0);
}

.banner-card-compact-resource .banner-card-headline {
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  margin-top: 4px !important;
  -webkit-line-clamp: 3 !important;
}

.banner-card-compact-resource .btn-banner-action {
  margin-top: auto !important;
  padding: 7px 14px !important;
  font-size: 0.78rem !important;
}

/* ── SCROLL REVEAL & MICRO-ANIMATIONS ── */
.reveal-stagger-item {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-stagger-item.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Micro-interacción: Zoom y elevación tridimensional suave al posar el cursor */
.sector-horizontal-card,
.trust-badge-card,
.banner-card-vertical,
.brand-box {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.sector-horizontal-card:hover,
.trust-badge-card:hover,
.banner-card-vertical:hover,
.brand-box:hover {
  transform: scale(1.03) translateY(-4px) !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18) !important;
  z-index: 10;
}

/* ── 6. VISTA COTIZACION B2B (DISEÑO LIGHT PURO) ── */
.b2b-quote-view-section {
  padding: 40px 0 80px;
  background: #fafbfc;
  min-height: calc(100vh - 200px);
}

.quote-header-navigation {
  margin-bottom: 30px;
}

.quote-view-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b45309;
  background: #fef3c7;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-top: 12px;
  margin-bottom: 8px;
}

.quote-header-navigation h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--header-bg);
  line-height: 1.2;
}

.quote-header-navigation p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin-top: 6px;
}

.quote-layout-cols {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Light Cards */
.quote-items-column {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.quote-items-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #f1f5f9;
  margin-bottom: 20px;
}

.quote-items-header-bar h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.btn-clear-quote-cart {
  font-size: 0.78rem;
  color: var(--accent-red);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.quote-view-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
  gap: 16px;
  transition: background 0.15s ease;
}

.quote-item-details {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.quote-item-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.quote-item-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.quote-item-sku {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.quote-item-price-unit {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.quote-item-qty-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-qty-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-qty-btn:hover {
  background: #f1f5f9;
}

.quote-qty-val {
  font-size: 0.9rem;
  font-weight: 800;
  min-width: 24px;
  text-align: center;
}

.quote-item-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--header-bg);
  min-width: 110px;
  text-align: right;
}

.btn-remove-quote-row {
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
}

.btn-remove-quote-row:hover {
  color: var(--accent-red);
}

.quote-empty-state {
  text-align: center;
  padding: 50px 20px;
}

.quote-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.quote-empty-state h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.quote-empty-state p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
  margin-bottom: 20px;
}

.quote-proforma-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.quote-proforma-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--header-bg);
  margin-bottom: 16px;
}

.quote-summary-metrics {
  background: #f8fafc;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid #edf2f7;
}

.quote-proforma-form h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--header-bg);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.quote-form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-submit-b2b-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--header-green);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 48px;
  border: none;
  transition: all 0.2s ease;
}

.btn-submit-b2b-quote:hover {
  background: #02573d;
  box-shadow: 0 6px 20px rgba(1, 61, 43, 0.25);
  transform: translateY(-2px);
}

.btn-instant-pdf-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: #fff;
  color: var(--header-green);
  border: 1.5px solid var(--header-green);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  min-height: 44px;
  transition: all 0.2s ease;
}

.btn-instant-pdf-quote:hover {
  background: var(--green-light-bg);
  transform: translateY(-2px);
}

/* ── CUSTOM PHONE SELECTOR WITH REAL SVG FLAGS (Windows Compatible) ── */
.custom-phone-wrapper {
  display: flex;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.custom-phone-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.custom-phone-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  min-height: 44px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  user-select: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.custom-phone-btn:hover {
  background: #f1f5f9;
}

.custom-phone-flag-img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  display: inline-block;
  flex-shrink: 0;
}

.custom-phone-dial {
  font-size: 0.82rem;
  font-weight: 700;
}

.custom-phone-chevron {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.custom-phone-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 270px;
  max-width: calc(100vw - 48px);
  max-height: 280px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 100;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.custom-phone-menu.active {
  display: flex;
}

.custom-phone-search-box {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
}

.custom-phone-search-input {
  width: 100%;
  padding: 6px 10px;
  font-size: 0.8rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
}

.custom-phone-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  max-height: 220px;
}

.custom-phone-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: background 0.15s ease;
}

.custom-phone-item:hover, .custom-phone-item.selected {
  background: #f1f5f9;
}

.custom-phone-item .custom-phone-country-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-phone-item .custom-phone-country-dial {
  font-weight: 700;
  color: var(--header-green);
  font-size: 0.8rem;
}

.custom-phone-wrapper input[type="tel"] {
  flex: 1;
  min-width: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important;
}

/* Dynamic Menu Category Counts */
.cat-count-pill {
  font-size: 0.72rem;
  background: #f1f5f9;
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-left: auto;
}

.dropdown-link.sector-link-active {
  background: var(--green-light-bg);
  color: var(--header-green) !important;
  font-weight: 800;
}

.b2b-quote-success-box {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
  animation: fadeIn 0.4s ease;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

.b2b-success-title {
  font-size: 1rem;
  font-weight: 800;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 8px;
}

.b2b-success-desc {
  font-size: 0.82rem;
  color: #047857;
  margin-top: 6px;
  line-height: 1.5;
}

.quote-pdf-action-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.btn-view-pdf-action,
.btn-download-pdf-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-view-pdf-action {
  background: var(--header-green);
  color: #ffffff !important;
  border: 1.5px solid var(--header-green);
  box-shadow: 0 4px 14px rgba(1, 61, 43, 0.25);
}

.btn-view-pdf-action:hover {
  background: #01281c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 61, 43, 0.35);
}

.btn-download-pdf-action {
  background: #ffffff;
  color: var(--header-green) !important;
  border: 1.5px solid var(--header-green);
}

.btn-download-pdf-action:hover {
  background: #f0fdf4;
  transform: translateY(-2px);
}

.quote-pdf-preview-embed {
  margin-top: 20px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.quote-pdf-preview-header {
  background: #0f172a;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
}

.quote-pdf-preview-header a {
  color: #93c5fd !important;
  font-size: 0.8rem;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.quote-pdf-preview-header a:hover {
  color: #ffffff !important;
}

.pdf-embedded-iframe {
  width: 100%;
  height: 580px;
  border: none;
  display: block;
  background: #f8fafc;
}

/* ── 7. VISTA RECURSOS (SPA ARTICLE READER & HUB) ── */
.recursos-hub-section {
  padding: 40px 0 80px;
  background: var(--bg-light);
  min-height: calc(100vh - 200px);
}

.recursos-content-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.article-reader-container {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--header-green);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.article-read-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-reader-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--header-bg);
  line-height: 1.25;
  margin-bottom: 24px;
}

.article-hero-media {
  width: 100%;
  max-height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body-text {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.8;
}

.article-body-text p {
  margin-bottom: 18px;
}

.article-body-text h2,
.article-body-text h3,
.article-body-text h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--header-bg);
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body-text blockquote {
  border-left: 4px solid var(--header-green);
  background: #f0fdf4;
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  color: #1e293b;
  font-style: italic;
}

.article-body-text ul {
  list-style: disc;
  margin-left: 24px;
  margin-bottom: 20px;
}

.article-body-text li {
  margin-bottom: 8px;
}

.article-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 18px 24px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--header-green);
  border-radius: var(--radius-md);
}

.article-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--header-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(1, 61, 43, 0.25);
}

.article-author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-author-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.article-author-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.article-author-role {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
}

.article-linked-product-banner {
  background: linear-gradient(135deg, #013d2b 0%, #064e3b 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  gap: 20px;
  flex-wrap: wrap;
}

.article-product-info h5 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffd700;
}

.article-product-info p {
  font-size: 0.85rem;
  color: #e2e8f0;
  margin-top: 4px;
}

.btn-article-quote-product {
  padding: 12px 24px;
  background: #ffd700;
  color: #0b0f19;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-article-quote-product:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* ── 7B. BLOG HERO BANNER & CATEGORY FILTERS ── */
.blog-hero-banner {
  background: linear-gradient(135deg, #01281c 0%, #013d2b 55%, #064e3b 100%);
  color: #ffffff;
  padding: 50px 0 36px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.blog-hero-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.btn-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
}

.btn-blog-back:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateX(-3px);
}

.blog-hero-pill-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fef08a;
  background: rgba(254, 240, 138, 0.15);
  border: 1px solid rgba(254, 240, 138, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.blog-hero-content {
  max-width: 860px;
  margin: 0 auto 36px;
}

.blog-hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.blog-hero-subtitle {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 740px;
  margin: 0 auto;
}

/* Category Filter Pills */
.blog-category-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.blog-filter-pill:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.blog-filter-pill.active {
  background: #ffffff;
  color: #013d2b;
  border-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  font-weight: 800;
}

.blog-pill-count {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.15);
  color: inherit;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.blog-filter-pill.active .blog-pill-count {
  background: var(--green-light-bg);
  color: #013d2b;
}

/* ── 7C. RECURSOS ARTICLES GRID & CARDS ── */
.recursos-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.resource-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.resource-card-text-only {
  border-top: 4px solid var(--header-green);
}

.resource-card-header-bar {
  padding: 22px 24px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resource-badge-pill {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.resource-card-text-only .resource-card-body {
  padding: 18px 24px 24px 24px;
}

.resource-card-visual {
  position: relative;
  width: 100%;
  height: 200px;
  background: #0f172a;
  overflow: hidden;
}

.resource-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.resource-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.badge-solar { background: #2563eb; }
.badge-mineria { background: #7e22ce; }
.badge-construccion { background: #ea580c; }
.badge-seguridad { background: #d97706; }
.badge-agro { background: #059669; }

.resource-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.resource-read-time-pill {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.resource-card-author {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.resource-card-author strong {
  color: var(--header-green);
  font-weight: 700;
}

.resource-card-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--header-bg);
  line-height: 1.35;
  margin-bottom: 10px;
}

.resource-card-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.resource-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.resource-linked-sku {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--header-green);
  background: var(--green-light-bg);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.resource-read-more {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--header-green);
  text-decoration: none;
  transition: all 0.2s ease;
}

.resource-read-more:hover {
  color: #065f46;
  transform: translateX(3px);
}

/* ── 8. MOBILE RESPONSIVENESS & TOUCH TARGET OPTIMIZATIONS ── */
@media (max-width: 992px) {
  .catalog-layout {
    flex-direction: column;
    gap: 20px;
  }
  .catalog-sidebar {
    width: 100%;
    padding: 20px 16px;
  }
  .cart-layout-cols,
  .quote-layout-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cart-items-column,
  .cart-summary-column .summary-card,
  .quote-items-column,
  .quote-proforma-card {
    padding: 20px 16px;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding-inline: 16px;
  }

  /* Header & Navigation */
  .main-header {
    padding: 10px 0;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 8px 10px;
    align-items: center;
  }

  .header-logo {
    gap: 8px;
  }

  .header-logo .logo-img-brand {
    height: 38px;
    width: 38px;
  }

  .header-logo .logo-name-img {
    height: 24px;
  }

  .header-nav {
    display: none;
  }

  .header-search {
    display: flex !important;
    order: 10;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
  }

  .header-search input {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .header-cart {
    display: none !important;
  }

  .menu-hamburger-btn {
    display: flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
  }

  .mobile-navigation-panel {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: min(290px, 85vw);
  }

  /* Hero Video Section */
  .hero-video-section {
    height: auto;
    min-height: 380px;
    padding: 36px 0;
  }

  .hero-video-content {
    gap: 10px;
  }

  .hero-video-title {
    font-size: clamp(1.35rem, 5.5vw, 1.8rem);
    line-height: 1.2;
  }

  .hero-video-slogan {
    font-size: clamp(0.85rem, 3.4vw, 0.98rem);
    line-height: 1.4;
  }

  .hero-video-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 8px;
  }

  .btn-video-primary,
  .btn-video-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px;
    font-size: 0.85rem;
  }

  /* Sector Horizontal Cards */
  .sector-banners-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sector-horizontal-card {
    height: 270px;
  }

  .sector-card-info {
    height: auto;
    min-height: auto;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.72);
  }

  .sector-card-info h3 {
    font-size: 1.1rem;
  }

  .sector-card-info p {
    opacity: 1;
    max-height: none;
    margin-top: 6px;
    font-size: 0.76rem;
    line-height: 1.4;
  }

  .btn-sector-action {
    opacity: 1;
    max-height: 44px;
    padding: 10px 14px;
    transform: translateY(0);
    margin-top: 10px;
  }

  /* Top Products Showcase */
  .top-products-section {
    padding: 32px 0 36px;
  }

  .section-title-dark {
    margin-bottom: 18px;
  }

  .top-products-headline {
    font-size: 1.35rem;
  }

  .top-products-subheadline {
    font-size: 0.82rem;
  }

  /* Brands Distributed */
  .brands-section {
    padding: 32px 0;
  }

  .brand-box {
    min-width: 130px;
    height: 60px;
    padding: 8px 16px;
  }

  /* Centro de Conocimiento & Carousel */
  .resources-preview-section {
    padding: 36px 0 28px;
  }

  .resources-preview-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  /* Catalog View Filters */
  .sidebar-checkbox-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
  }

  /* Product Detail View */
  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 16px 12px;
    gap: 20px;
  }

  .detail-visual-main {
    height: 240px;
  }

  .detail-gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .detail-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .detail-qty-container {
    width: 100%;
    justify-content: center;
    height: 46px;
  }

  .btn-detail-quote,
  .btn-detail-pdf {
    width: 100%;
    min-width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    text-align: center;
  }

  .detail-specs-box {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .detail-specs-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .detail-benefits-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Recursos & Blog Hub */
  .blog-hero-banner {
    padding: 32px 0 24px;
  }

  .blog-hero-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .blog-hero-subtitle {
    font-size: 0.85rem;
  }

  .blog-category-filters {
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-category-filters::-webkit-scrollbar {
    display: none;
  }

  .blog-filter-pill {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .recursos-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-reader-container {
    padding: 18px 14px;
  }

  .article-reader-title {
    font-size: 1.3rem;
  }

  /* Contact Section */
  .contact-section {
    padding: 36px 0;
  }

  .contact-header-centered {
    margin-bottom: 24px;
  }

  .contact-header-centered h2 {
    font-size: 1.5rem;
  }

  .contact-form-col-centered,
  .contact-form-col {
    padding: 20px 14px;
  }

  .contact-channels-horizontal {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .phone-prefix-select {
    max-width: 100px;
    font-size: 0.75rem;
  }

  /* Footer */
  .site-footer {
    padding-top: 36px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .footer-columns-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .catalog-products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .carousel-infinite-container {
    gap: 8px;
    margin: 18px 0 28px;
  }

  .carousel-adjacent-arrow {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .banner-card-vertical {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 380px;
    padding: 20px 16px;
    border-radius: 18px;
  }

  .banner-floating-img {
    max-height: 135px;
  }

  .banner-card-headline {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 14px;
  }

  .top-product-card {
    width: 250px;
    padding: 16px 14px;
  }

  .top-product-media {
    height: 120px;
  }

  .top-product-title {
    font-size: 0.85rem;
  }

  .top-product-price {
    font-size: 0.85rem;
  }

  .featured-machinery-grid {
    grid-auto-columns: minmax(240px, 270px);
  }

  .resources-carousel-track {
    grid-auto-columns: minmax(250px, 280px);
  }

  /* Cotización y Carrito Mobile Rows */
  .quote-view-item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 10px;
  }

  .quote-item-details {
    width: 100%;
  }

  .quote-item-thumb {
    width: 50px;
    height: 50px;
  }

  .quote-item-info h4 {
    font-size: 0.85rem;
  }

  .quote-item-qty-actions {
    width: 100%;
    justify-content: space-between;
    margin-top: 6px;
  }

  .quote-item-total {
    text-align: right;
    font-size: 0.88rem;
  }

  .quote-pdf-action-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn-view-pdf-action,
  .btn-download-pdf-action {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .btn-submit-b2b-quote,
  .btn-checkout-submit {
    padding: 14px;
    font-size: 0.88rem;
  }

  .cart-items-header-bar h3,
  .summary-card h3 {
    font-size: 1.05rem;
  }

  .summary-row {
    font-size: 0.82rem;
  }

  /* Modals on Mobile */
  .tech-sheet-modal-card {
    width: min(520px, 94vw);
    padding: 22px 16px;
  }

  .lalom360-modal-card {
    width: min(750px, 94vw);
    padding: 20px 16px;
  }

  /* Chat Widget */
  .chat-widget-container {
    bottom: 16px;
    right: 16px;
  }

  .chat-widget-box {
    width: calc(100vw - 32px);
    right: -6px;
    bottom: 65px;
    height: min(500px, 80vh);
  }
}

/* ── 9. GLOBAL SMOOTH ANIMATIONS & TAB TRANSITIONS (Punto 6) ── */
.fade-in-view {
  animation: spaTabFadeScale 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spaTabFadeScale {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.995);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sector-horizontal-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

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

.sector-visual-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-horizontal-card:hover .sector-visual-img {
  transform: scale(1.04);
}

.btn-sector-action, .btn-submit, .btn-submit-b2b-quote, .btn-instant-pdf-quote {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-sector-action:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 61, 43, 0.25);
}

/* ── TERMS & CONDITIONS (VISTA TÉRMINOS Y CONDICIONES) ── */
.terms-hero-banner {
  background: linear-gradient(135deg, #013d2b 0%, #062319 100%);
  color: #ffffff;
  padding: 48px 0 40px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.terms-hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.terms-hero-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
}
.terms-hero-meta {
  color: #94a3b8;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.terms-nav-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.terms-nav-pill {
  font-size: 0.78rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.terms-nav-pill:hover {
  background: #ffffff;
  color: #013d2b;
  border-color: #ffffff;
}
.terms-section-body {
  background: var(--bg-light, #f4f6f8);
  padding: 40px 0 80px;
}
.terms-content-container {
  max-width: 960px;
  margin: 0 auto;
}
.terms-top-nav-bar {
  margin-bottom: 24px;
}
.terms-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light, #e1e5e9);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.terms-intro-box {
  background: #f8fafc;
  border-left: 4px solid var(--header-green, #013d2b);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.7;
}
.terms-chapter-block {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #edf2f7;
}
.terms-chapter-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.terms-chapter-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #013d2b;
  background: #e6f4ea;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.terms-chapter-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f1828;
  margin-bottom: 18px;
  line-height: 1.3;
}
.terms-subheading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #013d2b;
  margin: 20px 0 8px;
}
.terms-paragraph {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 12px;
}
.terms-bullet-list {
  margin: 8px 0 16px 20px;
  padding: 0;
  list-style-type: disc;
}
.terms-bullet-list li {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 6px;
}
.terms-highlight-notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.88rem;
  color: #166534;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .terms-card-wrapper {
    padding: 24px 18px;
  }
  .terms-chapter-title {
    font-size: 1.15rem;
  }
}

