/**
 * IBANEZ LOGISTICS - Design System B2B Premium
 * Optimizado para alto rendimiento en Cloudflare Pages y Antigravity
 * Paleta corporativa de alto contraste, tipografía moderna, microinteracciones y accesibilidad.
 */

:root {
  /* Brand Colors */
  --color-navy-dark: #0a192f;
  --color-navy: #1b2a49;
  --color-navy-light: #2d3f66;
  --color-green-primary: #16a34a;
  --color-green-hover: #15803d;
  --color-green-accent: #22c55e;
  --color-green-light: #f0fdf4;
  --color-green-border: #bbf7d0;
  
  --color-orange-brand: #ea580c;
  --color-orange-light: #fff7ed;
  --color-orange-border: #fed7aa;

  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-600: #475569;
  --color-slate-500: #64748b;
  --color-slate-400: #94a3b8;
  --color-slate-200: #e2e8f0;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
  --color-white: #ffffff;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-green: 0 4px 14px 0 rgba(22, 163, 74, 0.35);

  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background-color: var(--color-slate-50);
  color: var(--color-slate-700);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--color-slate-900);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
  font-weight: 700;
}

h4 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

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

a:hover {
  color: var(--color-green-hover);
}

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

/* Layout Utilities */
.container-b2b {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-b2b {
  padding: 5.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section-b2b {
    padding: 3.5rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-green-light);
  color: var(--color-green-hover);
  border: 1px solid var(--color-green-border);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-badge.badge-orange {
  background-color: var(--color-orange-light);
  color: var(--color-orange-brand);
  border-color: var(--color-orange-border);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-slate-600);
  line-height: 1.6;
}

/* Buttons */
.btn-b2b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-b2b-primary {
  background-color: var(--color-green-primary);
  color: var(--color-white) !important;
  box-shadow: var(--shadow-green);
}

.btn-b2b-primary:hover {
  background-color: var(--color-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
}

.btn-b2b-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-b2b-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-b2b-dark {
  background-color: var(--color-navy);
  color: var(--color-white) !important;
}

.btn-b2b-dark:hover {
  background-color: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-b2b-outline {
  background-color: transparent;
  color: var(--color-navy) !important;
  border: 1.5px solid var(--color-slate-200);
}

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

/* Header & Navigation */
.header-corporate {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-slate-200);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-fast);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-corporate {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.brand-corporate img {
  height: 44px;
  width: auto;
}

.brand-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  display: flex;
  gap: 0.35rem;
}

.brand-text span {
  color: var(--color-green-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-slate-700);
  text-decoration: none !important;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link:focus {
  color: var(--color-green-primary);
}

.nav-badge-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background-color: #dbeafe;
  color: #1e40af;
  text-transform: uppercase;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-navy);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid var(--color-slate-200);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav-cta .btn-b2b {
    width: 100%;
  }
}

/* Hero Section & Lightweight Slider */
.hero-corporate {
  margin-top: 80px;
  position: relative;
  min-height: calc(90vh - 80px);
  background: var(--color-navy-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: var(--color-white);
}

.hero-slider-container {
  position: relative;
  flex-grow: 1;
  min-height: 520px;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-slider-container {
    min-height: 480px;
  }
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 4rem 0 3.5rem 0;
}

.hero-slide.slide-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

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

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.38);
  transform: scale(1.04);
  transition: transform 6s ease-out;
}

.hero-slide.slide-active .hero-bg-media img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.94) 0%, rgba(15, 23, 42, 0.82) 55%, rgba(22, 163, 74, 0.28) 100%);
  z-index: 2;
}

.hero-slide:nth-child(2) .hero-overlay {
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.94) 0%, rgba(15, 23, 42, 0.84) 55%, rgba(37, 99, 235, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 860px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-tagline.tagline-blue {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: #93c5fd;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Slider Controls: Arrows & Dots */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  padding: 0;
}

.hero-slider-arrow:hover, .hero-slider-arrow:focus {
  background: var(--color-green-primary);
  border-color: var(--color-green-primary);
  transform: translateY(-50%) scale(1.08);
  outline: none;
}

.hero-slider-arrow.arrow-prev {
  left: 1.5rem;
}

.hero-slider-arrow.arrow-next {
  right: 1.5rem;
}

@media (max-width: 768px) {
  .hero-slider-arrow {
    display: none;
  }
}

.hero-slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.hero-dot.is-active {
  width: 36px;
  background: var(--color-green-primary);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.5);
}

/* Static Bottom Trust Metrics Bar (Outside Slider) */
.hero-trust-bar-wrapper {
  position: relative;
  z-index: 10;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem 0;
}

.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

.trust-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.2;
}

.trust-label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 0.2rem;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .hero-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Corredor Chile - Bolivia Strategic Section */
.corredor-section {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
}

.corredor-card-main {
  background: linear-gradient(145deg, #ffffff 0%, var(--color-slate-50) 100%);
  border: 1px solid var(--color-slate-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

.corredor-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 992px) {
  .corredor-grid {
    grid-template-columns: 1fr;
  }
}

.corredor-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .corredor-body {
    padding: 2rem 1.5rem;
  }
}

.corredor-media {
  position: relative;
  min-height: 380px;
}

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

.corredor-media-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Route Badges */
.route-flow {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.route-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.route-row:last-child {
  margin-bottom: 0;
}

.route-country {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-navy);
  min-width: 75px;
}

.city-pill {
  background-color: var(--color-slate-100);
  color: var(--color-slate-800);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--color-slate-200);
}

.city-pill.city-highlight {
  background-color: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.route-arrow {
  color: var(--color-green-primary);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0.5rem;
}

/* 3-Step Process Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: 14px;
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-green-primary);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--color-green-light);
  color: var(--color-green-primary);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-green-border);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 3 Corporate Pillars Section */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-navy);
  box-shadow: var(--shadow-xl);
}

.pillar-media {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.pillar-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.88);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.pillar-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.pillar-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillar-services-list li {
  font-size: 0.95rem;
  color: var(--color-slate-700);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.pillar-services-list li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--color-green-primary);
  margin-top: 2px;
}

/* Ecosystem Section (Ibáñez Soluciones) */
.ecosystem-section {
  background-color: #0f172a;
  color: #ffffff;
  position: relative;
}

.ecosystem-header h2 {
  color: #ffffff;
}

.ecosystem-header .section-subtitle {
  color: #94a3b8;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
}

.ecosystem-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  text-decoration: none !important;
  color: inherit !important;
  position: relative;
  backdrop-filter: blur(10px);
}

.ecosystem-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-orange-brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.ecosystem-card.card-active {
  border-color: var(--color-green-primary);
  background: rgba(34, 197, 94, 0.08);
}

.ecosystem-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ecosystem-card-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.ecosystem-card-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-orange-brand);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ecosystem-card.card-active .ecosystem-card-link {
  color: var(--color-green-accent);
}

/* B2B Quotation Form Section */
.form-section {
  background: linear-gradient(180deg, var(--color-slate-50) 0%, #ffffff 100%);
}

.form-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  padding: 3.5rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .form-wrapper {
    padding: 2rem 1.25rem;
  }
}

.b2b-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .b2b-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-slate-800);
  margin-bottom: 0.45rem;
}

.form-label span.req {
  color: #ef4444;
}

.form-control-b2b {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-slate-800);
  background-color: var(--color-slate-50);
  border: 1.5px solid var(--color-slate-200);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control-b2b:focus {
  background-color: #ffffff;
  border-color: var(--color-green-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

textarea.form-control-b2b {
  resize: vertical;
  min-height: 90px;
}

.form-actions-b2b {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.form-security-note {
  font-size: 0.85rem;
  color: var(--color-slate-500);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

/* Trust Logos */
.clients-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  opacity: 0.85;
}

.client-logo-item {
  height: 56px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.client-logo-item:hover {
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* Floating WhatsApp Button */
.floating-wa-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #25d366;
  color: #ffffff !important;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-wa-btn:hover {
  background-color: #1eb857;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.floating-wa-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .floating-wa-btn span.wa-text {
    display: none;
  }
  .floating-wa-btn {
    padding: 0.85rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Footer Corporate */
.footer-corporate {
  background-color: var(--color-navy-dark);
  color: var(--color-slate-400);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--color-green-accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   National Cargo & Field Operations Dedicated Styles (Home 70% Weight)
   ========================================================================== */

.national-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (max-width: 992px) {
  .national-hero-grid {
    grid-template-columns: 1fr;
  }
}

.op-card-premium {
  background: #ffffff;
  border: 1px solid var(--color-slate-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.op-card-premium:hover {
  transform: translateY(-5px);
  border-color: var(--color-green-primary);
  box-shadow: var(--shadow-xl);
}

.op-card-premium.featured-op {
  border: 2px solid var(--color-green-primary);
  position: relative;
}

.op-featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-green-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

.op-card-media {
  height: 220px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.op-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.op-card-content {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.op-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.op-card-desc {
  font-size: 0.95rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.op-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.op-spec-list li {
  font-size: 0.9rem;
  color: var(--color-slate-700);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.45;
}

.op-spec-list li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--color-green-primary);
  margin-top: 2px;
}

/* Secondary International Corridor Block (Subtle & Compact) */
.comex-secondary-block {
  background: linear-gradient(135deg, var(--color-slate-900) 0%, #172554 100%);
  border-radius: 16px;
  padding: 3rem;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .comex-secondary-block {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

.comex-secondary-content h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.comex-secondary-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.comex-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.comex-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.comex-sidebar-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  text-align: center;
}

