:root {
  --navy: #0a1628;
  --navy-light: #13243d;
  --blue: #1a56db;
  --blue-hover: #1345b8;
  --blue-light: #3b9eff;
  --blue-glow: rgba(59, 158, 255, 0.4);
  --white: #ffffff;
  --gray-light: #f8fafc;
  --gray-card: #ffffff;
  --gray-border: #e2e8f0;
  --gray-text: #64748b;
  --success: #10b981;
}

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

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

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  padding-top: 0;
}

/* Engine de animaciones suaves al desplazar */
[data-anim] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-anim="fade-up"] {
  transform: translateY(35px);
}

[data-anim="fade-down"] {
  transform: translateY(-35px);
}

[data-anim="fade-left"] {
  transform: translateX(40px);
}

[data-anim="fade-right"] {
  transform: translateX(-40px);
}

[data-anim="zoom-in"] {
  transform: scale(0.92);
}

[data-anim="flip-up"] {
  transform: perspective(800px) rotateX(15deg) translateY(25px);
}

[data-anim].visible {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0) !important;
}

[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }
[data-delay="5"] { transition-delay: 0.40s; }
[data-delay="6"] { transition-delay: 0.48s; }

/* Barra de navegacion */
nav#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}

nav#navbar.scrolled {
  background: rgba(10, 22, 40, 0.98);
  height: 62px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: clamp(36px, 5vw, 44px);
  height: clamp(36px, 5vw, 44px);
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-brand {
  color: white;
  font-size: clamp(0.78rem, 2.2vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.nav-brand span {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--blue-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.5vw, 1.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: clamp(0.6rem, 1vw, 0.68rem);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-light);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.nav-links a:hover {
  color: var(--blue-light);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.nav-phone-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-light);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-phone-btn:hover {
  background: rgba(59, 158, 255, 0.2);
  color: white;
}

.nav-btn-carrito {
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.nav-btn-carrito:hover {
  background: rgba(59, 158, 255, 0.3);
  border-color: var(--blue-light);
  transform: scale(1.05);
}

.badge-carrito-nav {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e53e3e;
  color: white;
  font-size: 0.6rem;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  border: 2px solid #0a1628;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.nav-btn-sistema {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), #2563eb);
  color: white !important;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-btn-sistema:hover {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 158, 255, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease;
  z-index: 1001;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu movil desplegable */
.mobile-menu {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-10px);
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 340px;
}

.mobile-menu ul li {
  margin-bottom: 1.2rem;
}

.mobile-menu ul li a {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.mobile-menu ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-login-link {
  color: var(--blue-light) !important;
}

/* Seccion Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  min-height: calc(var(--vh, 1vh) * 100);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: max(85px, calc(var(--vh, 1vh) * 10));
  padding-bottom: 80px;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?w=1600&q=80') center/cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 8s ease forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.72) 0%, rgba(10, 22, 40, 0.6) 45%, rgba(10, 22, 40, 0.98) 100%);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.22) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0.5rem;
  max-width: 860px;
  width: 100%;
}

.h-a {
  opacity: 0;
  animation: hUp 0.85s ease both;
}

@keyframes hUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

.h-a1 { animation-delay: 0.15s }
.h-a2 { animation-delay: 0.30s }
.h-a3 { animation-delay: 0.45s }
.h-a4 { animation-delay: 0.60s }
.h-a5 { animation-delay: 0.75s }
.h-a6 { animation-delay: 0.90s }
.h-a7 { animation-delay: 1.05s }

.hero-logo-icon img {
  width: clamp(48px, 8vw, 68px);
  height: clamp(48px, 8vw, 68px);
  filter: drop-shadow(0 0 20px rgba(59, 158, 255, 0.6));
  animation: floatSlow 4s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

.hero-tag {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-size: clamp(0.55rem, 1.5vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 3px;
  padding: 5px 18px;
  border-radius: 3px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 9vw, 6.5rem);
  font-weight: 900;
  color: white;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}

.hero-sub {
  font-size: clamp(0.68rem, 2vw, 0.8rem);
  font-weight: 700;
  letter-spacing: clamp(2px, 1vw, 5px);
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  margin: 0.8rem 0 1.2rem;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(0.85rem, 2.2vw, 0.95rem);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 1.8rem;
  padding: 0 0.5rem;
}

.hero-icons {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 1.8rem);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.3s ease;
}

.hero-icon-item:hover {
  transform: translateY(-3px);
}

.hero-icon-item svg {
  width: 28px;
  height: 28px;
  fill: var(--blue-light);
}

.hero-icon-item span {
  font-size: 0.6rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  padding: 13px 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid var(--blue);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

.btn-primary:hover {
  background: transparent;
  color: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 158, 255, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: white;
  padding: 13px 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.btn-outline:hover {
  background: white;
  color: var(--navy);
  border-color: white;
  transform: translateY(-2px);
}

/* Ticker continuo */
.hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 86, 219, 0.94);
  padding: 10px 0;
  overflow: hidden;
  z-index: 2;
}

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.ticker-track span {
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 16px;
}

.ticker-track span::after {
  content: ' ·';
  color: var(--blue-light);
  margin-left: 16px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Quienes somos */
.quienes {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
  background: var(--navy);
  color: white;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.quienes-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?w=1400&q=80') center/cover no-repeat;
  opacity: 0.15;
}

.quienes-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(10, 22, 40, 0.85) 50%, var(--navy) 100%);
}

.quienes-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.section-logo {
  height: clamp(44px, 6vw, 56px);
  object-fit: contain;
}

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-light);
  display: block;
  margin-bottom: 0.5rem;
}

.quienes h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.quienes p {
  font-size: clamp(0.88rem, 2vw, 1rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

/* Servicios */
.servicios {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--white);
  text-align: center;
  width: 100%;
}

.section-header {
  margin-bottom: 2.5rem;
  padding: 0 1.25rem;
}

.section-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--gray-text);
  font-size: 0.92rem;
  max-width: 600px;
  margin: 0 auto 1.2rem;
}

.section-line {
  width: 50px;
  height: 3px;
  background: var(--blue);
  margin: 0 auto;
  border-radius: 2px;
}

/* Carrusel adaptativo con soporte para deslizamiento tactil */
.carousel-outer {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 1.25rem;
  width: 100%;
}

.carousel-outer::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: clamp(14px, 3vw, 24px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: max-content;
}

.service-card {
  width: clamp(260px, 75vw, 320px);
  height: clamp(330px, 50vh, 400px);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  text-align: left;
  scroll-snap-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(10, 22, 40, 0.18);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(10, 22, 40, 0.95) 100%);
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem;
  color: white;
}

.service-card-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--blue);
  width: 24px;
  border-radius: 10px;
}

/* Catalogo de productos */
.catalogo {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--gray-light);
  width: 100%;
}

.filtro-btn {
  background: white;
  border: 1.5px solid var(--gray-border);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 2px;
}

.filtro-btn:hover,
.filtro-btn.active {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: white !important;
}

.producto-card {
  background: white;
  border-radius: 14px;
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  text-align: left;
}

.producto-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-light);
  box-shadow: 0 12px 28px rgba(26, 86, 219, 0.12);
}

.producto-card-img-wrap {
  position: relative;
  width: 100%;
  height: 170px;
  background: #f8fafc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
}

.producto-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.producto-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 22, 40, 0.85);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.producto-card-body {
  padding: 1.1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.producto-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.producto-card-pres {
  font-size: 0.78rem;
  color: var(--gray-text);
  margin-bottom: 0.8rem;
}

.producto-card-prices {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.precio-usd-tag {
  font-size: 1.15rem;
  font-weight: 800;
  color: #059669;
}

.precio-bs-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7280;
}

.ecommerce-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  border-radius: 16px;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  color: white;
  text-align: center;
}

.ecommerce-badge {
  display: inline-block;
  background: rgba(59, 158, 255, 0.2);
  color: var(--blue-light);
  border: 1px solid rgba(59, 158, 255, 0.4);
  border-radius: 4px;
  padding: 4px 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.ecommerce-banner h3 {
  font-size: clamp(1.05rem, 2.8vw, 1.3rem);
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.ecommerce-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
}

.ecommerce-banner-btns {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Clientes y contacto */
.clientes {
  padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
  background: var(--white);
  position: relative;
  width: 100%;
}

.clientes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.8rem, 2.5vw, 1.8rem);
  max-width: 1100px;
  margin: 0 auto;
}

.cliente-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(130px, 38vw, 180px);
  min-height: 105px;
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.cliente-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(26, 86, 219, 0.14);
}

.cliente-logo-wrap {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.cliente-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cliente-name {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gray-text);
  text-align: center;
}

.contacto {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.contacto-card-info {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
}

.contacto-card-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
}

.contacto-item-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contacto-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(59, 158, 255, 0.2);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-white-10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.border-white-15 { border-color: rgba(255, 255, 255, 0.15) !important; }
.border-white-20 { border-color: rgba(255, 255, 255, 0.2) !important; }
.max-w-600 { max-width: 600px; }

/* Pie de pagina */
footer {
  background: var(--navy);
  padding: 2.5rem 1.25rem;
  text-align: center;
  border-top: 2px solid var(--blue);
  width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-brand {
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: left;
  line-height: 1.1;
}

.footer-brand span {
  display: block;
  font-size: 0.55rem;
  color: var(--blue-light);
  letter-spacing: 3px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 1.2rem 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0 0.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease;
}

.footer-links a:last-child {
  border-right: none;
}

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  letter-spacing: 0.8px;
  margin-top: 1rem;
}

/* Componente de chat flotante */
#chatbot-toggle-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(13, 110, 253, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

#chatbot-toggle-btn:hover {
  transform: scale(1.08);
}

.bot-msg-bubble {
  max-width: 85%;
  border-radius: 12px;
  border-bottom-left-radius: 2px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.user-msg-bubble {
  max-width: 85%;
  border-radius: 12px;
  border-bottom-right-radius: 2px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.typing-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(1); opacity: 0.4; }
  40% { transform: scale(1.3); opacity: 1; }
}

/* Reglas de adaptabilidad por pantalla */
@media (max-width: 1200px) {
  .nav-links { gap: 0.6rem; }
  .nav-links a { font-size: 0.62rem; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav#navbar { padding: 0 1rem; }
}

@media (max-width: 768px) {
  .btn-primary, .btn-outline {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.7rem;
  }
  .contacto-card-info, .contacto-card-form {
    padding: 1.25rem !important;
  }
  #chatbot-window {
    width: calc(100vw - 20px) !important;
    right: 10px !important;
    bottom: 80px !important;
    height: min(420px, calc(100vh - 100px)) !important;
  }
  .panelCotizacionPedido {
    width: 100vw !important;
    max-width: 100vw !important;
  }
}

@media (max-width: 576px) {
  .hero-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 0.8rem;
    max-width: 280px;
    margin: 0 auto 1.8rem;
  }
  .hero-icon-item span {
    font-size: 0.58rem;
  }
  .cliente-card {
    width: calc(50% - 0.5rem);
    min-height: 95px;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.6rem;
  }
  .footer-links a {
    border-right: none;
    padding: 0;
  }
}
