/* ==========================================================================
   NEXUS GLOBAL TRADE - IMPORTACIÓN & LOGÍSTICA INTERNACIONAL
   Estilo: Corporativo B2B, sólido, global, confiable y ágil.
   Paleta: Azul ultramar profundo, cian marítimo, blanco nítido y acento oro carga.
   ========================================================================== */

:root {
  /* Paleta Comercio Exterior */
  --color-primary: #0a2540;        /* Azul ultramar corporativo */
  --color-primary-dark: #061729;
  --color-primary-hover: #123456;
  
  --color-accent-cyan: #0284c7;    /* Cian global */
  --color-accent-hover: #0369a1;
  --color-accent-light: #e0f2fe;

  --color-gold: #f59e0b;          /* Acento marítimo / aduanero */
  --color-gold-light: #fef3c7;

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;

  --text-main: #0a2540;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-subtle: #e2e8f0;
  --border-accent: #bae6fd;

  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 4px 14px -2px rgba(10, 37, 64, 0.08), 0 2px 6px -1px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(10, 37, 64, 0.12), 0 4px 10px -2px rgba(10, 37, 64, 0.04);

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-display);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(10, 37, 64, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   TIPOGRAFÍA Y TITULARES
   ========================================================================== */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-cyan);
  background: var(--color-accent-light);
  border: 1px solid var(--border-accent);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.9rem;
}

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

.section-header h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.82rem 1.8rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.2);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 37, 64, 0.3);
}

.btn-accent {
  background: var(--color-accent-cyan);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-accent-cyan);
  color: var(--color-accent-cyan);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
}

/* ==========================================================================
   TOP BAR & NAVBAR
   ========================================================================== */
.top-notice-bar {
  background: var(--color-primary-dark);
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
}

.navbar .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-icon-globe {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--color-accent-cyan);
}

.brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--color-accent-cyan);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 4.8rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  margin-bottom: 1.25rem;
}

.hero-content h1 span {
  color: var(--color-accent-cyan);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  gap: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.trust-icon {
  color: var(--color-accent-cyan);
  font-size: 1rem;
}

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-media-wrapper img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-media-wrapper:hover img {
  transform: scale(1.02);
}

.hero-floating-stat {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(10, 37, 64, 0.94);
  backdrop-filter: blur(8px);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-item h4 {
  font-size: 1.25rem;
  color: var(--color-accent-light);
  margin-bottom: 0.1rem;
}

.stat-item p {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
}

/* ==========================================================================
   SERVICIOS LOGÍSTICOS & ADUANA (SINTÉTICOS)
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.service-box {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-box:hover {
  background: #ffffff;
  border-color: var(--color-accent-cyan);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.service-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.service-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   CIRCUITO DE IMPORTACIÓN (PASO A PASO)
   ========================================================================== */
.steps-section {
  padding: 5rem 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.8rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-accent-cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   CONTACTO & COTIZACIÓN RÁPIDA
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  background: var(--color-primary);
  color: #ffffff;
}

.contact-card-box {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.contact-card-box .section-tag {
  background: rgba(2, 132, 199, 0.2);
  color: var(--color-accent-light);
  border-color: rgba(2, 132, 199, 0.4);
}

.contact-card-box h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.contact-card-box p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2.2rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.contact-actions .btn {
  padding: 0.95rem 2.2rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--color-primary-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #64748b;
  line-height: 1.6;
  max-width: 360px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

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

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    gap: 1.2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .top-notice-bar {
    display: none;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
  }
}

/* ==========================================================================
   BANNER DE ADVERTENCIA / SITIO DE MUESTRA (FIJO SIEMPRE VISIBLE)
   ========================================================================== */
:root {
  --demo-banner-h: 34px;
}

@media (max-width: 768px) {
  :root {
    --demo-banner-h: 52px;
  }
}

body {
  padding-top: var(--demo-banner-h);
}

.demo-disclaimer-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0f172a;
  color: #f1f5f9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 99999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.navbar {
  top: var(--demo-banner-h) !important;
}

.demo-disclaimer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
  text-align: center;
}

.demo-disclaimer-banner .demo-tag {
  background: #f59e0b;
  color: #0f172a;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.demo-disclaimer-banner .demo-text {
  margin: 0;
  color: #e2e8f0;
}

.demo-disclaimer-banner .demo-text strong {
  color: #ffffff;
  font-weight: 700;
}

.demo-disclaimer-banner .demo-back-btn {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.demo-disclaimer-banner .demo-back-btn:hover {
  color: #bae6fd;
}

