/* ============================================
   CUMBRES LOGISTICS — Sitio renovado 2026
   Manteniendo identidad visual del sitio original
   ============================================ */

:root {
  --azul-primary: #1e4d8b;
  --azul-dark: #15396a;
  --azul-light: #2c6fb5;
  --naranjo: #ed8b2c;
  --naranjo-dark: #d97520;
  --gris-bg: #f5f5f5;
  --gris-card: #e8eaed;
  --gris-text: #555;
  --gris-dark: #333;
  --white: #ffffff;
  --border: #dee2e6;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gris-dark);
  background: var(--white);
}

a { color: var(--azul-primary); text-decoration: none; }
a:hover { color: var(--naranjo); }

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

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== HEADER (logo + contacto + menú) ===== */
.navbar {
  background: var(--white);
  padding: 22px 0 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
}
.navbar-logo img {
  max-height: 72px;
  width: auto;
  display: block;
}
.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.nav-contact {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
}
.nav-contact a {
  color: var(--gris-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.nav-contact a:hover { color: var(--naranjo); }
.nav-contact .nc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--naranjo);
  border-radius: 50%;
  color: var(--naranjo);
  font-size: 10px;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  color: var(--azul-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  transition: color 0.2s;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--naranjo);
}
.nav-menu .has-dropdown:hover .dropdown { display: block; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  border-top: 3px solid var(--naranjo);
  box-shadow: var(--shadow);
  list-style: none;
  z-index: 99;
}
.dropdown li a {
  display: block;
  padding: 12px 18px;
  color: var(--gris-dark);
  font-size: 13px;
  border-bottom: 1px solid var(--gris-bg);
  text-transform: uppercase;
  font-weight: 600;
}
.dropdown li a:hover {
  background: var(--gris-bg);
  color: var(--naranjo);
  padding-left: 22px;
}

.menu-toggle {
  display: none;
  background: var(--azul-primary);
  border: none;
  color: white;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}

/* ===== SLIDER ===== */
.slider {
  position: relative;
  overflow: hidden;
  background: #2a2a2a;
  height: 520px;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 1s;
  overflow: hidden;
}
.slide.active { opacity: 1; }

/* Capa de fondo con Ken Burns animation (movimiento de cámara) */
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}

/* Cada slide con animación diferente para variedad */
.slide:nth-child(1) .slide-bg {
  animation: kbZoomIn 6s infinite alternate ease-in-out;
}
.slide:nth-child(2) .slide-bg {
  animation: kbPanRight 6s infinite alternate ease-in-out;
}
.slide:nth-child(3) .slide-bg {
  animation: kbPanLeft 6s infinite alternate ease-in-out;
}

@keyframes kbZoomIn {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.45) translate(-6%, -3%); }
}
@keyframes kbPanRight {
  0% { transform: scale(1.30) translate(-10%, -2%); }
  100% { transform: scale(1.30) translate(10%, 2%); }
}
@keyframes kbPanLeft {
  0% { transform: scale(1.35) translate(8%, 3%); }
  100% { transform: scale(1.35) translate(-8%, -4%); }
}

/* Video background opcional (si existe <video>, va encima del background-image) */
.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
}
.slide-content {
  position: relative;
  z-index: 3;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 980px;
}
.slide-logo-img {
  max-width: 180px;
  height: auto;
  flex-shrink: 0;
}
.slide-text {
  text-align: left;
}
.slide-text h2 {
  font-size: 54px;
  font-weight: 700;
  letter-spacing: 4px;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.slide-text p {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 8px;
  color: white;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.slide-subtitle {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  background: rgba(0,0,0,0.35);
  padding: 8px 22px;
  border-radius: 30px;
  color: white;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.slide-subtitle strong { color: var(--naranjo); }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
}
.slider-dots button.active { background: var(--naranjo); border-color: var(--naranjo); }

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  padding: 50px 0 30px;
}
.section-title h2 {
  font-size: 28px;
  text-transform: uppercase;
  color: var(--azul-dark);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title .divider {
  width: 60px;
  height: 3px;
  background: var(--naranjo);
  margin: 0 auto;
}

/* ===== VALUE CARDS (Seguridad/Asesoría/Confianza) ===== */
.values-section {
  background: var(--gris-bg);
  padding: 60px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  padding: 40px 30px;
  text-align: center;
  border-bottom: 4px solid var(--naranjo);
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.value-card h3 {
  color: var(--azul-primary);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 700;
}
.value-card .v-divider {
  width: 30px;
  height: 2px;
  background: var(--naranjo);
  margin: 12px auto 20px;
}
.value-card p {
  color: var(--gris-text);
  margin-bottom: 20px;
  min-height: 60px;
}
.value-card img {
  max-height: 64px;
  opacity: 0.9;
}

/* ===== ECOMEX SECTION ===== */
.ecomex-section { padding: 60px 0; background: var(--white); }
.ecomex-intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 15px;
  color: var(--gris-text);
}
.ecomex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.ecomex-item {
  text-align: center;
  padding: 20px;
}
.ecomex-item img {
  max-height: 70px;
  margin-bottom: 16px;
}
.ecomex-item .e-divider {
  width: 40px;
  height: 2px;
  background: var(--naranjo);
  margin: 0 auto 14px;
}
.ecomex-item p {
  color: var(--gris-text);
  font-size: 14px;
}

/* ===== SERVICIOS TRANSPORTE ===== */
.transporte-section {
  padding: 60px 0;
  background: var(--gris-bg);
}
.transporte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.transporte-card {
  background: var(--white);
  padding: 40px 28px;
  text-align: center;
  border-top: 4px solid var(--azul-primary);
  transition: all 0.3s;
}
.transporte-card:hover {
  border-top-color: var(--naranjo);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.transporte-card h3 {
  color: var(--azul-primary);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 700;
}
.transporte-card .t-divider {
  width: 40px;
  height: 2px;
  background: var(--naranjo);
  margin: 0 auto 18px;
}
.transporte-card p {
  color: var(--gris-text);
  margin-bottom: 24px;
  min-height: 80px;
}
.btn-detalles {
  display: inline-block;
  background: var(--azul-primary);
  color: white !important;
  padding: 10px 28px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background 0.3s;
}
.btn-detalles:hover {
  background: var(--naranjo);
  color: white !important;
}

/* ===== SECTORES ===== */
.sectores-section { padding: 60px 0; background: var(--white); }
.sectores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  padding: 0 0 18px;
  overflow: hidden;
  transition: all 0.3s;
}
.sector-card:hover {
  border-color: var(--naranjo);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.sector-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 14px;
}
.sector-card span {
  color: var(--azul-dark);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ===== CONTACTO SECTION ===== */
.contacto-section {
  padding: 60px 0;
  background: var(--azul-dark);
  color: white;
}
.contacto-section .section-title h2 { color: white; }
.contacto-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}
.contacto-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}
.contacto-item img { max-height: 32px; }
.contacto-item a, .contacto-item span { color: white; font-size: 14px; }
.contacto-item a:hover { color: var(--naranjo); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}
.contacto-form {
  background: white;
  padding: 28px;
  border-radius: 4px;
}
.contacto-form h3 {
  color: var(--azul-dark);
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
  font-family: inherit;
  color: var(--gris-dark);
  margin-bottom: 12px;
}
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--azul-primary);
}
.contacto-form textarea {
  resize: vertical;
  min-height: 100px;
}
.btn-enviar {
  background: var(--naranjo);
  color: white;
  border: none;
  padding: 12px 36px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.3s;
  width: 100%;
}
.btn-enviar:hover { background: var(--naranjo-dark); }
.form-success {
  display: none;
  background: linear-gradient(135deg, #d4edda 0%, #c3f0c3 100%);
  color: #155724;
  border: 2px solid #28a745;
  padding: 18px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-weight: 700;
  text-align: center;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.2);
  animation: successPulse 0.5s ease-out;
}
.form-success.show { display: block; }
@keyframes successPulse {
  0% { transform: scale(0.95); opacity: 0; }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

.contacto-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  border-radius: 4px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--gris-bg);
  padding: 30px 0 20px;
  border-top: 3px solid var(--naranjo);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-copy {
  color: var(--gris-text);
  font-size: 12px;
}
.footer-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-tools strong {
  color: var(--azul-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-tools ul {
  display: flex;
  list-style: none;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-tools ul li a {
  color: var(--gris-text);
  font-size: 11px;
  text-transform: uppercase;
}
.footer-tools ul li a:hover { color: var(--naranjo); }
.footer-info-extra {
  text-align: center;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--gris-text);
  font-size: 12px;
}
.footer-info-extra a {
  color: var(--azul-primary);
  font-weight: 600;
  margin: 0 6px;
}
.footer-info-extra a:hover { color: var(--naranjo); }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: var(--azul-dark);
  color: white;
  padding: 60px 0 50px;
  text-align: center;
}
.page-header h1 {
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-weight: 700;
}
.page-header .ph-divider {
  width: 60px;
  height: 3px;
  background: var(--naranjo);
  margin: 0 auto 14px;
}
.page-header p { color: rgba(255,255,255,.85); font-size: 14px; }

/* ===== HERO PÁGINAS DE TRANSPORTE (con foto de fondo) ===== */
.transporte-hero {
  position: relative;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.transporte-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(15, 55, 106, 0.55) 0%,
    rgba(15, 55, 106, 0.30) 50%,
    rgba(15, 55, 106, 0.10) 100%);
  z-index: 1;
}
.transporte-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
.transporte-hero-badge {
  display: inline-flex;
  flex-direction: column;
  background: var(--azul-primary);
  color: white;
  padding: 22px 40px 22px 60px;
  margin-left: -60px;
  font-size: 20px;
  letter-spacing: 2.5px;
  font-weight: 700;
  text-transform: uppercase;
  max-width: 380px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  align-self: flex-start;
}
.transporte-hero-badge::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--naranjo);
  margin-top: 10px;
}
.transporte-hero-text {
  max-width: 520px;
  margin-top: 50px;
  color: white;
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.transporte-hero-text strong { font-weight: 700; }

@media (max-width: 768px) {
  .transporte-hero { min-height: 380px; }
  .transporte-hero-content { padding: 30px 20px 50px; min-height: 380px; }
  .transporte-hero-badge {
    margin-left: -20px;
    padding: 16px 24px 16px 40px;
    font-size: 16px;
    max-width: 280px;
  }
  .transporte-hero-text {
    font-size: 14px;
    margin-top: 30px;
    background: rgba(15,55,106,0.65);
    padding: 16px 18px;
    border-radius: 4px;
  }
}

/* ===== QUIENES SOMOS ===== */
.somos-section { padding: 60px 0; background: var(--white); }
.somos-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--gris-text);
  font-size: 15px;
  line-height: 1.8;
}
.mision-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}
.mv-card {
  background: var(--gris-bg);
  padding: 40px 30px;
  text-align: center;
  border-bottom: 4px solid var(--naranjo);
}
.mv-card img { max-height: 70px; margin-bottom: 18px; }
.mv-card h3 {
  color: var(--azul-dark);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.mv-card p { color: var(--gris-text); font-size: 14px; }

/* ===== INFO CORPORATIVA ===== */
.info-corporativa {
  margin-top: 50px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--naranjo);
  padding: 36px 40px;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.info-corporativa h3 {
  color: var(--azul-dark);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-align: center;
  font-weight: 700;
}
.info-corporativa .ic-divider {
  width: 50px;
  height: 2px;
  background: var(--naranjo);
  margin: 10px auto 28px;
}
.ic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  max-width: 800px;
  margin: 0 auto;
}
.ic-block { }
.ic-block h4 {
  color: var(--naranjo);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gris-bg);
}
.ic-item {
  display: flex;
  margin-bottom: 10px;
  font-size: 14px;
  align-items: baseline;
  gap: 10px;
}
.ic-label {
  color: var(--gris-text);
  font-weight: 600;
  min-width: 110px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ic-value {
  color: var(--azul-dark);
  font-weight: 700;
  flex: 1;
}
@media (max-width: 768px) {
  .info-corporativa { padding: 24px 20px; }
  .ic-grid { grid-template-columns: 1fr; gap: 24px; }
  .ic-item { flex-direction: column; gap: 2px; }
  .ic-label { min-width: 0; }
}
.world-banner {
  background: linear-gradient(180deg, #15396a 0%, #0d2a52 100%);
  color: white;
  padding: 70px 20px 80px;
  text-align: center;
  position: relative;
}
.world-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.world-banner p {
  font-size: 16px;
  max-width: 760px;
  margin: 0 auto 30px;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
}
.world-map-img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 20px auto 40px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}
.world-clocks {
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.clock { text-align: center; }
.clock .time {
  font-size: 52px;
  font-weight: 700;
  color: var(--naranjo);
  font-family: 'Courier New', 'Roboto Mono', monospace;
  letter-spacing: -1px;
  text-shadow: 0 0 20px rgba(237, 139, 44, 0.4);
  line-height: 1;
}
.clock .time sup {
  font-size: 18px;
  font-weight: 600;
  margin-left: 4px;
  vertical-align: super;
  top: -0.2em;
  position: relative;
}
.clock .city {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .world-clocks { gap: 30px; }
  .clock .time { font-size: 36px; }
  .clock .time sup { font-size: 14px; }
  .world-banner { padding: 40px 20px 60px; }
}

/* ===== TRANSPORTE INNER PAGE ===== */
.transporte-detail-section { padding: 60px 0; }
.transporte-detail-intro {
  max-width: 880px;
  margin: 0 auto 40px;
  color: var(--gris-text);
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}
.transporte-detail-intro strong { color: var(--azul-primary); }
.transporte-img-wrap {
  text-align: center;
  margin: 30px 0;
}
.transporte-features {
  background: var(--gris-bg);
  padding: 30px;
  border-radius: 4px;
  margin-top: 30px;
}
.transporte-features h3 {
  color: var(--azul-dark);
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-align: center;
}
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--gris-text);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '►';
  color: var(--naranjo);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}
.t-mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.t-mini-card {
  text-align: center;
  padding: 24px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.t-mini-card img { max-height: 28px; margin-bottom: 12px; }
.t-mini-card h4 {
  color: var(--azul-dark);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  color: white !important;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: wa-pulse 2.5s infinite;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
@keyframes wa-pulse {
  0% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gris-dark);
  color: white;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.wa-float:hover .wa-tooltip { opacity: 1; }

/* ===== CHAT IA WIDGET ===== */
.chat-ia {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 998;
}
.chat-ia-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--azul-primary);
  border-radius: 50%;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(30, 77, 139, 0.4);
  font-size: 26px;
  transition: transform 0.3s;
  position: relative;
}
.chat-ia-btn:hover { transform: scale(1.05); background: var(--azul-light); }
.chat-ia-btn .notif-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: var(--naranjo);
  border-radius: 50%;
  border: 2px solid white;
}
.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 360px;
  height: 520px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
  background: var(--azul-primary);
  color: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.chat-header-info { flex: 1; }
.chat-header-info .name { font-size: 14px; font-weight: 700; }
.chat-header-info .status { font-size: 11px; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 5px; }
.chat-header-info .status::before {
  content: ''; width: 7px; height: 7px; background: #4ade80; border-radius: 50%;
}
.chat-close {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.8;
}
.chat-close:hover { opacity: 1; }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
}
.chat-msg {
  margin-bottom: 12px;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-msg.bot {
  background: white;
  border: 1px solid var(--border);
  margin-right: auto;
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  background: var(--azul-primary);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-quick {
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  background: white;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chat-quick button {
  background: var(--gris-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 5px 11px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  color: var(--gris-dark);
}
.chat-quick button:hover {
  background: var(--azul-primary);
  color: white;
  border-color: var(--azul-primary);
}
.chat-lead-form {
  display: none;
  padding: 12px;
  background: var(--gris-bg);
  border-top: 1px solid var(--border);
  gap: 8px;
  flex-direction: column;
}
.chat-lead-form.show { display: flex; }
.chat-lead-form input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
}
.chat-lead-form button {
  background: var(--naranjo);
  color: white;
  border: none;
  padding: 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.chat-input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid var(--border);
  background: white;
  gap: 8px;
}
.chat-input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  font-size: 13px;
  font-family: inherit;
}
.chat-input:focus { outline: none; border-color: var(--azul-primary); }
.chat-send {
  background: var(--azul-primary);
  color: white;
  border: none;
  width: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
}
.chat-send:hover { background: var(--naranjo); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .values-grid,
  .ecomex-grid,
  .transporte-grid { grid-template-columns: repeat(2, 1fr); }
  .sectores-grid { grid-template-columns: repeat(3, 1fr); }
  .contacto-info { grid-template-columns: 1fr; gap: 16px; }
  .contacto-grid { grid-template-columns: 1fr; }
  .slide-text h2 { font-size: 38px; letter-spacing: 3px; }
  .slide-text p { font-size: 18px; letter-spacing: 5px; }
  .slide-logo-img { max-width: 130px; }
  .nav-contact { gap: 18px; font-size: 12px; }
  .nav-menu > li > a { font-size: 12px; padding: 10px 10px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .navbar-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .nav-right { display: contents; }
  .nav-contact {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: 6px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
    box-shadow: var(--shadow);
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { padding: 14px 20px; }
  .dropdown { position: static; box-shadow: none; border-top: none; background: var(--gris-bg); }
  .nav-menu .has-dropdown .dropdown { display: block; }

  .slider { height: 400px; }
  .slide-content { flex-direction: column; gap: 14px; }
  .slide-text { text-align: center; }
  .slide-text h2 { font-size: 30px; letter-spacing: 2px; }
  .slide-text p { font-size: 15px; letter-spacing: 4px; }
  .slide-logo-img { max-width: 100px; }

  .values-grid,
  .ecomex-grid,
  .transporte-grid,
  .mision-vision,
  .t-mini-cards { grid-template-columns: 1fr; }
  .sectores-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .world-clocks { gap: 24px; }

  .chat-panel { width: calc(100vw - 32px); right: -8px; }
  .section-title h2 { font-size: 22px; }
  .page-header h1 { font-size: 24px; }
}

@media (max-width: 480px) {
  .sectores-grid { grid-template-columns: 1fr; }
  .chat-ia { bottom: 88px; right: 16px; }
  .wa-float { bottom: 16px; right: 16px; }
}
