/* ==========================================================================
   EXPRESS LOADOUT - MODERN OBSIDIAN TACTICAL DESIGN SYSTEM (GAS HYBRID)
   Inspirado en el ERP de Google Apps Script + SEO Modern Courier Experience
   ========================================================================== */

:root {
  /* Obsidian Dark Base Palette (Default GAS Hybrid) */
  --bg-base: #090d14;
  --bg-surface: #0f1624;
  --bg-surface-alt: #131c2e;
  --bg-card: rgba(18, 27, 44, 0.72);
  --bg-card-hover: rgba(26, 38, 62, 0.88);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.35);

  /* Express Loadout Brand Accents (Tactical Amber Gold & Cyan/Blue) */
  --brand-yellow: #f59e0b;
  --brand-yellow-hover: #d97706;
  --brand-yellow-glow: rgba(245, 158, 11, 0.28);
  --brand-blue: #3b82f6;
  --brand-blue-hover: #2563eb;
  --brand-emerald: #10b981;
  --brand-red: #ef4444;

  /* Typography Colors */
  --text-heading: #f8fafc;
  --text-main: #cbd5e1;
  --text-muted: #8492a6;
  --text-subtle: #4b5563;

  /* Shadows and Effects */
  --glass-blur: blur(16px);
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --trans-fast: 0.18s ease;
  --trans-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* TEMA TACTICAL ARMY ALTERNATIVO (Verde Drab & Coyote como en GAS) */
body.theme-tactical {
  --bg-base: #080b08;
  --bg-surface: #101610;
  --bg-surface-alt: #151d15;
  --bg-card: rgba(18, 25, 18, 0.75);
  --bg-card-hover: rgba(28, 38, 28, 0.90);
  --border-subtle: rgba(119, 144, 67, 0.20);
  --border-glow: rgba(163, 230, 53, 0.35);
  --brand-yellow: #eab308;
  --brand-blue: #65a30d;
  --shadow-glow: 0 0 25px rgba(163, 230, 53, 0.20);
}

/* TEMA CLARO MODERNO */
body.theme-light {
  --bg-base: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.90);
  --bg-card-hover: #ffffff;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(245, 158, 11, 0.40);
  --text-heading: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.07);
}

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

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-base);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-base);
  transition: background-color var(--trans-smooth), color var(--trans-smooth);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Layout Utilities */
.site-container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

.section-container {
  padding: 85px 0;
  position: relative;
}

.bg-surface-alt {
  background-color: var(--bg-surface-alt);
}

.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}

/* Tipografía de Sección */
.section-header {
  margin-bottom: 48px;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-yellow);
  margin-bottom: 8px;
  background: rgba(245, 158, 11, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.text-gradient-amber {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panel Base */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: border-color var(--trans-fast), transform var(--trans-fast), box-shadow var(--trans-fast);
}

.glass-panel:hover {
  border-color: var(--border-glow);
}

/* TOP ANNOUNCEMENT BAR */
.top-banner {
  background: linear-gradient(90deg, #182234 0%, #0c121e 100%);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  padding: 6px 0;
  color: #cbd5e1;
}

.top-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.top-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--brand-emerald);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-emerald);
  border-radius: 50%;
  display: inline-block;
}

.status-dot.pulse {
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-banner-msg {
  flex: 1;
  text-align: center;
  font-weight: 500;
  min-width: 280px;
}

.top-banner-link {
  color: var(--brand-yellow);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-banner-link:hover {
  text-decoration: underline;
}

/* HEADER & NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 13, 20, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo {
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.35));
}

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

.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-heading);
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-yellow);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--trans-fast);
  position: relative;
  padding: 4px 0;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-heading);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--brand-yellow);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--trans-fast), border-color var(--trans-fast);
}

.icon-btn:hover {
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
}

.admin-chip-btn {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.admin-chip-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: #60a5fa;
  transform: translateY(-1px);
}

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

/* Botones Principales */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--trans-smooth);
  border: 1px solid transparent;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #090d14;
  border-color: #f59e0b;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-accent {
  background: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
}

.btn-accent:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-subtle);
  color: var(--text-heading);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #1ebc59;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 0.78rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.btn-glow {
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.28);
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

/* CANVAS DE RED DE ICONOS LOGÍSTICOS INTERACTIVOS (LOGIN ERP ANIMATION) */
.hero-mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.92;
}

.hero-glow-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 70% 55% at 50% 25%, rgba(245, 158, 11, 0.16) 0%, rgba(37, 99, 235, 0.07) 45%, transparent 70%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s ease;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 75%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  margin-bottom: 20px;
}

.badge-tag {
  background: var(--brand-yellow);
  color: #000;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 0.72rem;
}

.badge-text {
  color: #fde68a;
  font-weight: 500;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 1.18rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

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

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.1;
}

.metric-unit {
  font-size: 0.95rem;
  color: var(--brand-yellow);
  font-weight: 600;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 38px;
  background-color: var(--border-subtle);
}

/* HERO QUICK TRACK WIDGET */
.quick-widget-card {
  padding: 32px;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.widget-icon-pulse {
  color: var(--brand-yellow);
  font-size: 1.4rem;
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.widget-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  color: var(--text-heading);
}

.widget-live-pill {
  font-size: 0.68rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.widget-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.quick-track-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 1.15rem;
}

.input-with-icon input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px 12px 42px;
  color: var(--text-heading);
  transition: border-color var(--trans-fast);
}

.input-with-icon input:focus {
  outline: none;
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.quick-address-box {
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.address-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.address-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-yellow);
  display: flex;
  align-items: center;
  gap: 4px;
}

.copy-btn {
  background: none;
  border: none;
  color: #60a5fa;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}

.copy-btn:hover {
  text-decoration: underline;
}

.address-snippet {
  display: block;
  font-size: 0.84rem;
  color: var(--text-main);
  background: rgba(0,0,0,0.25);
  padding: 8px 10px;
  border-radius: 6px;
  word-break: break-all;
}

/* TRUST STRIP */
.trust-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 22, 36, 0.5);
  padding: 18px 0;
}

.trust-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255,255,255,0.04);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

/* CALCULADORA DE FLETES INTERACTIVA */
.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.calc-form-card, .calc-result-card {
  padding: 34px;
}

.card-inner-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.card-inner-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.card-inner-header-flex .card-inner-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Popover de Informacion de Tarifas (Icono 'i') */
.info-popover-wrapper {
  position: relative;
  display: inline-block;
}

.info-circle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--brand-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.info-circle-btn:hover, .info-circle-btn:focus {
  background: var(--brand-yellow);
  color: #000;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  transform: scale(1.06);
}

.info-popover-content {
  position: absolute;
  top: 42px;
  right: 0;
  width: 300px;
  background: #111726;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75);
  z-index: 100;
  animation: fadeInDown 0.2s ease-out;
}

.popover-body {
  display: flex;
  gap: 10px;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--text-main);
}

.popover-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #60a5fa;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 6px;
}

.popover-link:hover {
  color: var(--brand-yellow);
}

.form-group-row {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-surface);
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.segment-btn {
  background: transparent;
  border: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--trans-fast);
}

.segment-btn:hover {
  color: var(--text-heading);
}

.segment-btn.active {
  background: var(--brand-yellow);
  color: #090d14;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.segment-btn:disabled, .segment-btn.disabled-btn {
  opacity: 0.4;
  cursor: not-allowed !important;
  filter: grayscale(1);
}

.segment-btn:disabled:hover, .segment-btn.disabled-btn:hover {
  background: transparent !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
}

.segment-btn-badge-off {
  font-size: 0.68rem;
  font-weight: 700;
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  margin-left: 4px;
}

.label-with-tooltip {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tooltip-badge {
  font-size: 0.75rem;
  color: var(--brand-yellow);
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.input-range-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calc-number-input {
  width: 100px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  color: var(--text-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.calc-slider {
  flex: 1;
  accent-color: var(--brand-yellow);
  cursor: pointer;
  height: 6px;
}

.calc-select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-heading);
  cursor: pointer;
}

.calc-guarantee-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  color: #6ee7b7;
  margin-top: 20px;
  line-height: 1.5;
}

.calc-season-advisory {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: #93c5fd;
  margin-top: 12px;
  line-height: 1.5;
}

.calc-china-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: #fde68a;
  margin-top: 12px;
  line-height: 1.5;
}

.calc-consult-box {
  margin-top: 16px;
  text-align: center;
}

.calc-consult-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--trans-fast);
}

.calc-consult-link:hover {
  color: var(--brand-yellow);
  text-decoration: underline;
}

/* Controles de Unidad FT3 vs CBM y Modo Manual */
.volume-unit-switch-row {
  margin-bottom: 14px;
}

.segment-unit-switch, .segment-mode-switch {
  margin-top: 8px;
  grid-template-columns: 1fr 1fr;
}

.rate-mode-switch-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.rate-mode-status {
  font-size: 0.76rem;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(96, 165, 250, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.volume-hint-text {
  font-size: 0.81rem;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.volume-hint-text i {
  color: var(--brand-yellow);
  margin-top: 2px;
  flex-shrink: 0;
}

.manual-rate-input-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 12px;
  width: 175px;
}

.manual-rate-prefix {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-yellow);
  margin-right: 4px;
}

.manual-rate-input-box .calc-number-input {
  width: 75px;
  border: none;
  background: transparent;
  padding: 8px 4px;
  font-size: 1.15rem;
  text-align: left;
}

.manual-rate-unit {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.manual-rate-hint {
  font-size: 0.80rem;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}

/* Selector mini de Bodega en el Hero */
.address-tabs-mini {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.addr-tab-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--trans-fast);
}

.addr-tab-btn:hover, .addr-tab-btn.active {
  background: var(--brand-yellow);
  color: #000;
  border-color: var(--brand-yellow);
}

/* Badge de evento pendiente o por confirmar */
.countdown-pending-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fde68a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.calc-big-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.calc-big-price .currency {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-yellow);
}

.calc-big-price .price-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}

.calc-big-price .price-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.92rem;
}

.breakdown-label {
  color: var(--text-muted);
}

.breakdown-val {
  color: var(--text-heading);
  font-weight: 600;
}

/* SERVICES GRID (REDESIGNED V10) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--brand-yellow); border: 1px solid rgba(245, 158, 11, 0.3); }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.3); }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.icon-gold { background: rgba(234, 179, 8, 0.15); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.3); }

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.service-text {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 20px;
  flex: 1;
}

.service-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-check-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-check-list li i {
  color: var(--brand-emerald);
  font-size: 1rem;
}

.service-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--trans-fast);
}

.service-link:hover {
  transform: translateX(4px);
}

/* CASOS DE ÉXITO & TESTIMONIOS */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.case-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-image-wrap {
  position: relative;
  height: 220px;
  background: #0d131f;
  overflow: hidden;
}

.case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-image {
  transform: scale(1.05);
}

.case-badge-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-yellow);
}

.case-stat-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

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

.case-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.case-desc {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 18px;
  flex: 1;
}

.case-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.case-client-name {
  font-weight: 700;
  color: var(--text-heading);
}

.legacy-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.quote-card {
  padding: 28px;
}

.quote-stars {
  color: #fbbf24;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.quote-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-yellow), #d97706);
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.author-name {
  display: block;
  font-size: 0.95rem;
  color: var(--text-heading);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* TIENDAS DIRECTORY */
.stores-filter-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.store-filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.store-filter-btn:hover, .store-filter-btn.active {
  background: var(--brand-yellow);
  color: #000;
  border-color: var(--brand-yellow);
}

/* ==========================================================================
   CARRUSEL MODERNO DE TIENDAS RECOMENDADAS (TRANSICIÓN ULTRA SUAVE & RESPLANDOR)
   ========================================================================== */
.stores-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.stores-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 24px 12px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  will-change: scroll-position;
}

.stores-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.store-modern-card {
  flex: 0 0 calc(25% - 18px); /* 4 tarjetas en pantallas grandes */
  min-width: 250px;
  scroll-snap-align: start;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Transición ultra-suave inspirada en iOS / Material 3 */
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
  user-select: none;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

/* Sombra Resplandeciente y Resplandor Ámbar Potente */
.store-modern-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(245, 158, 11, 0.95);
  box-shadow: 
    0 20px 50px -5px rgba(245, 158, 11, 0.50),
    0 0 35px rgba(245, 158, 11, 0.40),
    0 0 80px rgba(245, 158, 11, 0.20),
    inset 0 0 20px rgba(245, 158, 11, 0.12);
}

.store-modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.store-modern-card:hover::before {
  opacity: 1;
}

.store-modern-card:active {
  cursor: grabbing;
}

.store-brand-pill {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--brand-yellow);
  margin-bottom: 14px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.store-modern-card:hover .store-brand-pill {
  transform: scale(1.1);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.45);
  color: #fff;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(37, 99, 235, 0.15) 100%);
}

.store-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.store-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.store-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.28);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* Flechas de Navegación del Carrusel con Resplandor Fuerte */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(12, 18, 30, 0.90);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.carousel-arrow:hover {
  background: var(--brand-yellow);
  color: #000;
  border-color: var(--brand-yellow);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 
    0 0 30px rgba(245, 158, 11, 0.70),
    0 0 60px rgba(245, 158, 11, 0.35);
}

.carousel-prev {
  left: -24px;
}

.carousel-next {
  right: -24px;
}

/* Dots / Paginación con Resplandor Aumentado */
.carousel-dots-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dot.active {
  width: 32px;
  border-radius: var(--radius-pill);
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  box-shadow: 
    0 0 16px rgba(245, 158, 11, 0.85),
    0 0 30px rgba(245, 158, 11, 0.45);
}

/* Enlaces directos a tiendas dentro de la tarjeta */
.store-link-btn {
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-yellow);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform var(--trans-fast);
}

.store-link-btn:hover {
  transform: translateX(3px);
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .store-modern-card {
    flex: 0 0 calc(33.333% - 14px); /* 3 tarjetas en laptops */
  }
}

@media (max-width: 860px) {
  .store-modern-card {
    flex: 0 0 calc(50% - 10px); /* 2 tarjetas en tablets */
  }
  .carousel-prev { left: -8px; }
  .carousel-next { right: -8px; }
}

@media (max-width: 580px) {
  .store-modern-card {
    flex: 0 0 84%; /* 1 tarjeta + visualización parcial de la siguiente en móvil */
  }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
}

.store-brand-pill {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--brand-yellow);
  margin-bottom: 12px;
}

.store-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.store-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.store-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.shopping-tips-box {
  padding: 24px 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.tips-icon {
  font-size: 2.2rem;
  color: var(--brand-yellow);
}

.tips-title {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.tips-text {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
}

.tips-text code {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* TRACKING BANNER & STEPS */
.tracking-banner-card {
  padding: 44px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.input-with-button {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 18px;
}

.input-with-button input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-heading);
}

.input-with-button input:focus {
  outline: none;
  border-color: var(--brand-yellow);
}

.status-steps-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.steps-title {
  font-size: 1rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.step-line {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.step-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.step-point.completed .step-number {
  background: var(--brand-emerald);
  border-color: var(--brand-emerald);
  color: #000;
}

.step-point.in-progress .step-number {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: #000;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.step-point strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-heading);
}

.step-point span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.track-result-box, .adv-result-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
  font-size: 0.9rem;
}

/* REGISTRO DE CASILLERO LAYOUT */
.register-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 32px 0;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  color: var(--brand-yellow);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.perk-item strong {
  display: block;
  font-size: 1rem;
  color: var(--text-heading);
}

.perk-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.direct-contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.contact-box-title {
  font-size: 1rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.contact-links-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.contact-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-yellow);
  background: rgba(255,255,255,0.04);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--trans-fast);
}

.contact-pill-link:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--brand-yellow);
}

.register-card {
  padding: 38px;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.form-header-icon {
  font-size: 1.8rem;
  color: var(--brand-yellow);
}

.form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  color: var(--text-heading);
}

.form-group {
  margin-bottom: 18px;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.form-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--text-heading);
  transition: border-color var(--trans-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.checkbox-options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-surface);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.check-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-main);
  cursor: pointer;
}

.check-container input {
  accent-color: var(--brand-yellow);
  width: 16px;
  height: 16px;
}

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* RESULTADO REGISTRO EXITOSO */
.reg-success-card {
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--brand-emerald);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.success-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.casillero-badge-box {
  background: var(--bg-surface);
  border: 2px dashed var(--brand-yellow);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
}

.badge-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-code {
  font-family: 'Space Grotesk', monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-yellow);
  letter-spacing: 2px;
}

.casillero-address-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.address-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 6px;
}

/* FAQ ACCORDION */
.faq-accordion-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--brand-yellow);
  transition: transform var(--trans-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
}

/* FOOTER */
.site-footer {
  background: #06090e;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-heading);
}

.footer-about {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links-row {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-main);
  transition: all var(--trans-fast);
}

.social-icon:hover {
  background: var(--brand-yellow);
  color: #000;
  border-color: var(--brand-yellow);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--trans-fast);
}

.footer-menu a:hover {
  color: var(--brand-yellow);
}

.footer-text-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.88rem;
  color: #60a5fa;
  cursor: pointer;
  text-align: left;
}

.footer-text-btn:hover {
  text-decoration: underline;
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-info i {
  color: var(--brand-yellow);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 25px;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-emerald);
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.5);
  animation: pulse-wave 2s infinite;
  z-index: -1;
}

@keyframes pulse-wave {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: rgba(9, 13, 20, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* MODAL DE ADMINISTRACIÓN CMS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal-card {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  background: #0f1624;
}

.admin-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-modal-title-wrap i {
  font-size: 2rem;
  color: #60a5fa;
}

.admin-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  color: var(--text-heading);
}

.admin-modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--text-heading);
}

.admin-login-box {
  text-align: center;
  max-width: 380px;
  margin: 30px auto;
}

.login-shield-icon {
  font-size: 3.2rem;
  color: var(--brand-yellow);
  margin-bottom: 12px;
}

.login-tip {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.login-tip code {
  color: var(--brand-yellow);
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.admin-tabs-row {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  overflow-x: auto;
}

.admin-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.admin-tab-btn.active {
  color: var(--brand-yellow);
  border-bottom-color: var(--brand-yellow);
}

.admin-tab-pane {
  display: none;
}

.admin-tab-pane.active {
  display: block;
}

.admin-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-pane-header h4 {
  font-size: 1.15rem;
  color: var(--text-heading);
}

.photo-upload-section {
  background: var(--bg-surface);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}

.photo-inputs-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.file-input-custom {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.or-separator {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 700;
}

.img-preview-box {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.img-preview-box img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.form-actions-row {
  display: flex;
  gap: 12px;
}

.admin-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 28px 0;
}

.existing-title {
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.admin-cases-table-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.admin-case-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  transition: all var(--trans-fast);
}

.admin-case-item.is-hidden-item {
  opacity: 0.65;
  border-style: dashed;
  background: rgba(255, 255, 255, 0.02);
}

.admin-case-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.admin-item-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.admin-item-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-yellow);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.admin-case-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 12px;
}

.badge-visible {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  font-size: 0.7rem !important;
  padding: 2px 8px !important;
}

.badge-hidden {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  font-size: 0.7rem !important;
  padding: 2px 8px !important;
}

.btn-action-show {
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.4) !important;
}
.btn-action-show:hover {
  background: rgba(52, 211, 153, 0.15) !important;
}

.btn-action-hide {
  color: var(--text-muted) !important;
  border-color: var(--border-subtle) !important;
}
.btn-action-hide:hover {
  color: var(--text-heading) !important;
  border-color: var(--border-medium) !important;
}

.btn-action-edit {
  color: var(--brand-yellow) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
}
.btn-action-edit:hover {
  background: rgba(245, 158, 11, 0.15) !important;
}

.btn-action-delete {
  color: var(--brand-red) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}
.btn-action-delete:hover {
  background: rgba(239, 68, 68, 0.15) !important;
}

@media (max-width: 640px) {
  .admin-case-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .admin-case-actions {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
}

.gas-desc {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.6;
}

.gas-desc code {
  color: var(--brand-yellow);
}

.sync-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.gas-status-note {
  margin-top: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

/* ==========================================================================
   GOOGLE AUTOFILL & CAPTCHA DE SEGURIDAD PANAMÁ
   ========================================================================== */
.google-autofill-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(66, 133, 244, 0.08);
  border: 1px solid rgba(66, 133, 244, 0.25);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  font-size: 0.82rem;
  color: #93c5fd;
}

.google-g-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-helper-note {
  font-size: 0.74rem;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
}

.panama-captcha-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
  transition: all var(--trans-smooth);
}

.panama-captcha-card.verified {
  border-color: var(--brand-emerald);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.captcha-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.captcha-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
}

.captcha-checkbox-wrap input {
  width: 22px;
  height: 22px;
  accent-color: var(--brand-yellow);
  cursor: pointer;
}

.captcha-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--brand-yellow);
  border-radius: 50%;
  animation: spin-captcha 0.8s linear infinite;
}

@keyframes spin-captcha {
  to { transform: rotate(360deg); }
}

.captcha-badge-ok {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-emerald);
}

.captcha-badge-ok i {
  font-size: 1.2rem;
}

.captcha-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.captcha-brand {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SECCIÓN DE EVENTOS, OFERTAS GLOBALES & CALENDARIO DE COMPRAS
   ========================================================================== */
.events-filter-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.event-filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--trans-fast);
}

.event-filter-btn:hover, .event-filter-btn.active {
  background: var(--brand-yellow);
  color: #000;
  border-color: var(--brand-yellow);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.event-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform var(--trans-smooth), border-color var(--trans-fast), box-shadow var(--trans-fast);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-yellow);
  box-shadow: 0 16px 40px -5px rgba(245, 158, 11, 0.25);
}

.event-flyer-header {
  padding: 24px;
  position: relative;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  min-height: 175px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.event-flyer-header.has-flyer-image {
  background: #090d16;
}

.event-flyer-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .event-flyer-bg-img {
  transform: scale(1.07);
}

.event-flyer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 22, 0.96) 0%, rgba(9, 13, 22, 0.65) 55%, rgba(9, 13, 22, 0.35) 100%);
  z-index: 2;
  transition: background var(--trans-fast);
}

body.theme-tactical .event-flyer-overlay {
  background: linear-gradient(to top, rgba(14, 21, 16, 0.96) 0%, rgba(14, 21, 16, 0.65) 55%, rgba(14, 21, 16, 0.35) 100%);
}

.event-card:hover .event-flyer-overlay {
  background: linear-gradient(to top, rgba(9, 13, 22, 0.98) 0%, rgba(9, 13, 22, 0.55) 55%, rgba(9, 13, 22, 0.25) 100%);
}

.event-flyer-content {
  position: relative;
  z-index: 3;
}

.event-flyer-header.has-flyer-image .event-title {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.event-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  margin-bottom: 12px;
}

.tag-amazon { color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.4); }
.tag-aliexpress { color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.4); }
.tag-temu { color: #f97316; border: 1px solid rgba(249, 115, 22, 0.4); }
.tag-alibaba { color: #eab308; border: 1px solid rgba(234, 179, 8, 0.4); }
.tag-madeinchina { color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.4); }
.tag-shein { color: #ec4899; border: 1px solid rgba(236, 72, 153, 0.4); }
.tag-walmart { color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }

.tag-instagram-flyer {
  color: #fda4af !important;
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.35) 0%, rgba(131, 58, 180, 0.35) 100%) !important;
  border: 1px solid rgba(225, 48, 108, 0.5) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.tag-instagram-flyer:hover {
  background: linear-gradient(135deg, #e1306c 0%, #833ab4 100%) !important;
  color: #ffffff !important;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.4);
}

.btn-instagram {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.15) 0%, rgba(131, 58, 180, 0.15) 100%) !important;
  color: #f43f5e !important;
  border: 1px solid rgba(225, 48, 108, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-instagram:hover {
  background: linear-gradient(135deg, #e1306c 0%, #833ab4 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.35);
}

.case-redirection-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.case-redirect-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  transition: all var(--trans-fast);
}

.case-redirect-btn:hover {
  border-color: var(--brand-yellow);
  color: var(--brand-yellow);
  transform: translateY(-2px);
}

.case-redirect-btn.btn-instagram-pill {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.15) 0%, rgba(131, 58, 180, 0.15) 100%);
  color: #fb7185;
  border-color: rgba(225, 48, 108, 0.4);
}

.case-redirect-btn.btn-instagram-pill:hover {
  background: linear-gradient(135deg, #e1306c 0%, #833ab4 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.35);
}

.case-title-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

.case-title-link:hover {
  color: var(--brand-yellow);
}

.case-image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.case-touch-indicator,
.event-touch-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--trans-fast);
  opacity: 0.85;
}

.case-card:hover .case-touch-indicator,
.event-card:hover .event-touch-indicator {
  opacity: 1;
  background: var(--brand-yellow);
  color: #000000;
  transform: scale(1.1);
  border-color: var(--brand-yellow);
}

.event-flyer-clickable {
  text-decoration: none !important;
  cursor: pointer !important;
  display: flex;
}

.btn-facebook-pill {
  background: rgba(24, 119, 242, 0.15) !important;
  color: #60a5fa !important;
  border-color: rgba(24, 119, 242, 0.4) !important;
}

.btn-facebook-pill:hover {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.btn-facebook {
  background: #1877f2 !important;
  color: #ffffff !important;
  border-color: #1877f2 !important;
}

.btn-facebook:hover {
  background: #166fe5 !important;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.event-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  color: var(--text-heading);
  margin-bottom: 6px;
  line-height: 1.25;
}

.event-discount-badge {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

/* Cuenta Regresiva (Countdown Timer) */
.countdown-container {
  margin-bottom: 20px;
}

.countdown-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.countdown-unit-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
  text-align: center;
}

.countdown-number {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-yellow);
  line-height: 1;
}

.countdown-text {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.event-logistics-note {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--brand-yellow);
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 22px;
  line-height: 1.5;
  flex: 1;
}

.event-logistics-note strong {
  color: var(--brand-yellow);
}

.event-actions-row {
  display: flex;
  gap: 10px;
}

/* CAJA DE SUSCRIPCIÓN A ALERTAS */
.events-subscribe-card {
  padding: 38px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 22, 36, 0.95) 0%, rgba(9, 13, 20, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.15);
}

.events-subscribe-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.bell-glow-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--brand-yellow);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse-icon 2s infinite;
}

.subscribe-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.subscribe-desc {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscribe-input-group {
  display: flex;
  gap: 10px;
}

.subscribe-input-group input {
  flex: 1;
}

.subscribe-extra-options {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.calendar-sync-btn {
  background: none;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: #60a5fa;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--trans-fast);
}

.calendar-sync-btn:hover {
  color: var(--brand-yellow);
  text-decoration: underline;
}

.sub-alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 10px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-lead {
    margin: 0 auto 34px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-metrics {
    justify-content: center;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .tracking-banner-card {
    grid-template-columns: 1fr;
  }
  .register-layout-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #090d14;
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px;
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-nav-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
    font-weight: 600;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-group-grid {
    grid-template-columns: 1fr;
  }
  .input-with-button {
    flex-direction: column;
  }
}

/* =============================================================================
   TACTICAL LOGISTICS VISUALIZER & TRACKING CMS (EXECUTIVE OBSIDIAN GRADE)
   ============================================================================= */
.tactical-track-card {
  background: linear-gradient(145deg, #0b111e 0%, #070a12 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 24px rgba(245, 158, 11, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 18px;
  position: relative;
  overflow: hidden;
  transition: all var(--trans-medium);
  width: 100%;
  box-sizing: border-box;
}

.tactical-track-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, #fbbf24, transparent);
}

.tactical-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.tactical-track-id-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tactical-carrier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tactical-number-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-family: Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.tactical-number-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #f59e0b;
  color: #fbbf24;
}

.tactical-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tactical-status-pill.status-warehouse {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.tactical-status-pill.status-transit {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.tactical-status-pill.status-customs {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.tactical-status-pill.status-ready {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.tactical-status-pill.status-delivered {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.tactical-radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  position: relative;
  box-shadow: 0 0 8px currentColor;
}

.tactical-radar-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  animation: radarPulse 1.8s infinite ease-out;
}

@keyframes radarPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ROUTE BANNER */
.tactical-route-banner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.tactical-hub-point {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tactical-hub-flag {
  font-size: 1.4rem;
}

.tactical-hub-info h6 {
  font-size: 0.85rem;
  color: #f1f5f9;
  font-weight: 700;
  margin: 0;
}

.tactical-hub-info span {
  font-size: 0.74rem;
  color: #94a3b8;
}

.tactical-route-line-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.tactical-route-line {
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(245, 158, 11, 0.3) 0, rgba(245, 158, 11, 0.3) 6px, transparent 6px, transparent 12px);
}

.tactical-route-vehicle {
  position: absolute;
  background: #0f172a;
  border: 1px solid #f59e0b;
  color: #fbbf24;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
  animation: vehicleFloat 2.5s infinite ease-in-out;
}

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

/* 4-STAGE MILESTONE STEPPER */
.tactical-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
  position: relative;
}

.tactical-step-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  position: relative;
  transition: all var(--trans-fast);
}

.tactical-step-node.completed {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.35);
}

.tactical-step-node.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.15);
}

.tactical-step-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.tactical-step-node.completed .tactical-step-icon {
  background: #10b981;
  color: #052e16;
  font-weight: 700;
}

.tactical-step-node.active .tactical-step-icon {
  background: #f59e0b;
  color: #451a03;
  font-weight: 700;
  box-shadow: 0 0 8px #f59e0b;
}

.tactical-step-title {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.25;
}

.tactical-step-sub {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 2px;
}

/* DOSSIER DATA GRID */
.tactical-dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.tactical-dossier-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tactical-dossier-label {
  font-size: 0.7rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tactical-dossier-val {
  font-size: 0.84rem;
  color: #f1f5f9;
  font-weight: 600;
}

/* CHECKPOINTS TIMELINE */
.tactical-history-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 16px;
  margin-bottom: 18px;
}

.tactical-history-title {
  font-size: 0.84rem;
  color: #cbd5e1;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tactical-checkpoints-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-left: 20px;
}

.tactical-checkpoints-list::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.tactical-checkpoint-entry {
  position: relative;
  font-size: 0.82rem;
  line-height: 1.4;
}

.tactical-checkpoint-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
  border: 2px solid #0b111e;
}

.tactical-checkpoint-entry:first-child .tactical-checkpoint-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.tactical-checkpoint-time {
  font-size: 0.72rem;
  color: #fbbf24;
  font-weight: 600;
  font-family: Consolas, monospace;
}

.tactical-checkpoint-loc {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 6px;
}

.tactical-checkpoint-desc {
  color: #e2e8f0;
  margin-top: 2px;
}

/* ACTION BUTTONS */
.tactical-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tactical-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans-fast);
}

.tactical-action-btn.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}
.tactical-action-btn.whatsapp:hover {
  background: #25d366;
  color: #052e16;
}

.tactical-action-btn.carrier {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}
.tactical-action-btn.carrier:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.tactical-action-btn.share {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}
.tactical-action-btn.share:hover {
  background: #f59e0b;
  color: #451a03;
}

/* SCANNER LOADING INDICATOR */
.tactical-scanner-loading {
  background: rgba(11, 17, 30, 0.85);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.tactical-radar-spinner {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(245, 158, 11, 0.2);
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: radarSpin 0.9s linear infinite;
}

@keyframes radarSpin {
  to { transform: rotate(360deg); }
}

.admin-subpanel {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

@media (max-width: 768px) {
  .tactical-stepper {
    grid-template-columns: repeat(2, 1fr);
  }
  .tactical-hud-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .tactical-route-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .tactical-route-line-box {
    width: 100%;
    margin: 8px 0;
  }
}

/* =============================================================================
   TACTICAL MICRO-CARD (OPTIMIZACIÓN HERO SIN ESTIRAMIENTO DE FONDO)
   ============================================================================= */
.tactical-micro-card {
  background: rgba(11, 17, 30, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.25s ease-out;
}

.tactical-micro-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #f59e0b, transparent);
}

.tactical-micro-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tactical-micro-tracknum {
  font-family: Consolas, monospace;
  font-weight: 700;
  font-size: 0.84rem;
  color: #f8fafc;
}

.tactical-micro-close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}
.tactical-micro-close:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
}

.tactical-micro-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.tactical-micro-eta {
  font-size: 0.76rem;
  color: #94a3b8;
}

.tactical-micro-stepper {
  display: flex;
  gap: 5px;
  margin-bottom: 12px;
}

.tactical-micro-step-dot {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--trans-fast);
}

.tactical-micro-step-dot.completed {
  background: #10b981;
}

.tactical-micro-step-dot.active {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.tactical-micro-actions {
  display: flex;
  gap: 8px;
}

.tactical-micro-actions .btn {
  padding: 8px 12px;
  font-size: 0.78rem;
}

/* =============================================================================
   TACTICAL STEPPER 5 & CUSTOMS NOTICE (TOCUMEN 24-48H + KAPPA WAREHOUSE RECEIPT)
   ============================================================================= */
.tactical-stepper-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 22px;
}

.tactical-customs-notice {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.tactical-customs-notice i {
  font-size: 1.4rem;
  color: #fbbf24;
  margin-top: 2px;
  flex-shrink: 0;
}

.tactical-customs-notice strong {
  display: block;
  font-size: 0.88rem;
  color: #fbbf24;
  margin-bottom: 4px;
}

.tactical-customs-notice p {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.tactical-receipt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .tactical-stepper-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================================================
   MALLA DINÁMICA DE RED LOGÍSTICA (SECCIONES DESTACADAS CON CONTRASTE)
   ============================================================================= */
.section-container.has-animated-mesh {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-base) !important;
}

.section-container.has-animated-mesh .site-container {
  position: relative;
  z-index: 2;
}

.section-mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.90;
}

body.theme-tactical .hero-glow-bg {
  background: radial-gradient(ellipse 70% 55% at 50% 25%, rgba(163, 230, 53, 0.18) 0%, rgba(101, 163, 13, 0.08) 45%, transparent 70%);
}

body.theme-light .hero-glow-bg {
  background: radial-gradient(ellipse 70% 55% at 50% 25%, rgba(59, 130, 246, 0.12) 0%, rgba(245, 158, 11, 0.05) 45%, transparent 70%);
}

body.theme-light .hero-grid-pattern {
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
}

/* =============================================================================
   SISTEMA DE NOTIFICACIONES FLOTANTES (TOAST NOTIFIER PROFESIONAL)
   ============================================================================= */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  min-width: 320px;
  max-width: 440px;
  background: rgba(13, 18, 28, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #f1f5f9;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  position: relative;
  overflow: hidden;
}

.toast-item.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-item.toast-success {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(16, 185, 129, 0.15);
}

.toast-item.toast-error {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(239, 68, 68, 0.15);
}

.toast-item.toast-info {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(59, 130, 246, 0.15);
}

.toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: #ef4444; }
.toast-info .toast-icon { color: #3b82f6; }

.toast-body {
  flex: 1;
  min-width: 0;
}

.toast-title {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  color: #f8fafc;
}

.toast-msg {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.35;
}

.toast-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px;
  font-size: 1rem;
  line-height: 1;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #ffffff;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #eab308);
  border-radius: 0 0 0 12px;
  animation: toast-drain linear forwards;
}

.toast-success .toast-progress {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.toast-error .toast-progress {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.toast-info .toast-progress {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

@keyframes toast-drain {
  from { width: 100%; }
  to { width: 0%; }
}

/* Compatibilidad con tema Light */
body.theme-light .toast-item {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.05);
}
body.theme-light .toast-title {
  color: #0f172a;
}
body.theme-light .toast-msg {
  color: #475569;
}
body.theme-light .toast-close {
  color: #64748b;
}
body.theme-light .toast-close:hover {
  color: #0f172a;
}


