@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  
  --accent-primary: #ff4d00;
  --accent-primary-hover: #ff6a26;
  --accent-glow: rgba(255, 77, 0, 0.25);
  --accent-cyan: #06b6d4;
  --accent-green: #22c55e;
}

/* ---------------- THEMES ---------------- */
.theme-dark {
  --bg-primary: #030712;
  --bg-secondary: #0b0f19;
  --bg-tertiary: #111827;
  --bg-card: rgba(11, 15, 25, 0.7);
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --glass-bg: rgba(11, 15, 25, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);
  --panel-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  --border-color: rgba(255, 255, 255, 0.08);
  background-color: #030712;
  background-image: 
    radial-gradient(circle at 50% -10%, rgba(99, 102, 241, 0.15) 0%, rgba(3, 7, 18, 0) 50%),
    radial-gradient(circle at 90% 40%, rgba(255, 77, 0, 0.08) 0%, rgba(3, 7, 18, 0) 40%),
    radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.06) 0%, rgba(3, 7, 18, 0) 40%);
  background-attachment: fixed;
  color: var(--text-primary);
}

.theme-light {
  --bg-primary: #f4f6fa;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edf2f7;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --glass-bg: #ffffff;
  --glass-border: rgba(15, 23, 42, 0.14);
  --glass-blur: blur(20px);
  --panel-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --border-color: rgba(15, 23, 42, 0.14);
  background-color: #f4f6fa;
  background-image: 
    radial-gradient(circle at 88% 12%, rgba(255, 115, 0, 0.035) 0%, transparent 40%),
    radial-gradient(circle at 12% 48%, rgba(240, 245, 250, 0.85) 0%, transparent 50%),
    radial-gradient(circle at 80% 82%, rgba(255, 247, 237, 0.5) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #faf8f5 16%, #f1f5f9 48%, #edf2f7 76%, #fdf9f5 100%);
  background-attachment: fixed;
  color: var(--text-primary);
}

/* ---------------- RESET & BASE ---------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

/* ---------------- UTILITIES & TYPOGRAPHY ---------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 77, 0, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 77, 0, 0.3);
  margin-bottom: 1rem;
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(6, 182, 212, 0.3);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.gradient-text-accent {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--panel-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  border-color: rgba(255, 77, 0, 0.3);
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

/* ---------------- NAVBAR ---------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-logo .logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-primary), #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.brand-logo span span {
  color: var(--accent-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.55rem, 1.15vw, 1.35rem);
  list-style: none;
  flex-shrink: 1;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.nav-faq-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 77, 0, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 77, 0, 0.35);
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.nav-links a.nav-faq-pill:hover,
.nav-links a.nav-faq-pill.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 14px rgba(255, 77, 0, 0.4);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-selector {
  display: flex;
  align-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 0.2rem;
  gap: 0.15rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--text-primary);
}

.mobile-nav-toggle {
  display: none;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.25rem;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer (Independiente fuera de navbar) */
.mobile-drawer {
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 4.5rem);
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 1.75rem 1.5rem 3rem;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 998;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.theme-dark .mobile-drawer {
  background: rgba(11, 15, 25, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.theme-light .mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mobile-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.mobile-drawer a:hover,
.mobile-drawer a:active {
  color: var(--accent-primary);
  background: rgba(255, 77, 0, 0.08);
  padding-left: 1rem;
}

@media (max-width: 1140px) {
  .nav-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .navbar .navbar-inner {
    height: 3.85rem;
    padding: 0 0.65rem;
  }
  .brand-logo {
    font-size: 1.08rem;
    gap: 0.4rem;
    letter-spacing: -0.01em;
  }
  .brand-logo .logo-mark {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.82rem;
    border-radius: 6px;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .lang-selector {
    padding: 0.12rem;
    gap: 0.08rem;
  }
  .lang-btn {
    font-size: 0.68rem;
    padding: 0.18rem 0.38rem;
  }
  .theme-toggle {
    width: 1.95rem;
    height: 1.95rem;
    font-size: 0.85rem;
  }
  .mobile-nav-toggle {
    width: 2rem;
    height: 2rem;
    font-size: 1.05rem;
  }
  .mobile-drawer {
    top: 3.85rem;
    height: calc(100vh - 3.85rem);
  }
}

@media (max-width: 380px) {
  .navbar .navbar-inner {
    padding: 0 0.45rem;
  }
  .brand-logo {
    font-size: 0.98rem;
    gap: 0.3rem;
  }
  .brand-logo .logo-mark {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 0.75rem;
  }
  .nav-actions {
    gap: 0.25rem;
  }
  .lang-btn {
    font-size: 0.64rem;
    padding: 0.16rem 0.32rem;
  }
  .theme-toggle {
    width: 1.85rem;
    height: 1.85rem;
  }
  .mobile-nav-toggle {
    width: 1.9rem;
    height: 1.9rem;
  }
}

/* ---------------- HERO SECTION ---------------- */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats Counter Panel */
.stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--panel-shadow);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--accent-primary);
}

.stat-lbl {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .stats-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ---------------- CÓMO FUNCIONA ---------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 77, 0, 0.1);
  color: var(--accent-primary);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- SERVICIOS 360 ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--accent-primary);
}

.service-card h3 {
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- SECCIÓN CANTON FAIR ---------------- */
.canton-section {
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.4) 0%, rgba(3, 7, 18, 0.8) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.canton-hero-card {
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 3.5rem;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.08) 0%, rgba(11, 15, 25, 0.8) 100%);
  border: 1px solid rgba(255, 77, 0, 0.3);
}

.canton-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 77, 0, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 77, 0, 0.35);
}

.canton-date-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.canton-editions-card {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--panel-shadow);
}

.canton-hero-card h2, .canton-hero-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 860px;
  margin: 0 auto 1.25rem;
  line-height: 1.25;
}

.canton-hero-title-break {
  display: block;
  margin-top: 0.35rem;
}

.canton-hero-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 2rem;
}

/* Canton Stats Grid */
.canton-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.canton-stat-card {
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.canton-stat-card .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 0.35rem;
}

.canton-stat-card .lbl {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .canton-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .canton-hero-card {
    padding: 1.75rem 0.9rem;
    margin-bottom: 2rem;
  }
  .canton-hero-card h2, .canton-hero-heading {
    font-size: 1.35rem;
    line-height: 1.32;
  }
  .canton-hero-title-break {
    display: block;
    margin-top: 0.45rem;
  }
  .canton-hero-card p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  .canton-date-pill {
    font-size: 0.74rem;
    padding: 0.35rem 0.65rem;
    max-width: 100%;
    text-align: center;
    line-height: 1.35;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  .canton-date-pill span:not(.pulse-dot) {
    white-space: normal;
    word-break: break-word;
  }
  .canton-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 2.5rem;
  }
  .canton-stat-card {
    padding: 1rem 0.4rem;
    min-width: 0;
    overflow: hidden;
  }
  .canton-stat-card .num {
    font-size: clamp(1.2rem, 4.4vw, 1.55rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
    white-space: nowrap;
  }
  .canton-stat-card .lbl {
    font-size: 0.74rem;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .canton-hero-card {
    padding: 1.35rem 0.75rem;
  }
  .canton-hero-card h2, .canton-hero-heading {
    font-size: 1.2rem;
  }
  .canton-stat-card {
    padding: 0.9rem 0.3rem;
  }
  .canton-stat-card .num {
    font-size: clamp(1.1rem, 4.2vw, 1.4rem);
  }
  .canton-stat-card .lbl {
    font-size: 0.7rem;
  }
}

/* Interactive Phase Tabs */
.tabs-container {
  margin-bottom: 4rem;
}

.phase-tabs-header {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.phase-tab-btn {
  padding: 0.75rem 1.6rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.phase-tab-btn.active {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.phase-content-panel {
  display: none;
  padding: 2.5rem;
}

.phase-content-panel.active {
  display: block;
  animation: fadeIn 0.35s ease forwards;
}

.phase-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 850px) {
  .phase-panel-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Timeline "No Estará Solo" */
.journey-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-card {
  padding: 2.25rem 1.75rem;
  position: relative;
}

.timeline-step-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  margin-bottom: 1rem;
}

.timeline-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.timeline-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .journey-timeline {
    grid-template-columns: 1fr;
  }
}

/* ---------------- MAPA COMERCIAL ---------------- */
.map-section {
  padding: 4rem 0;
}

/* Controles de Rutas (Pills) */
.map-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.map-ctrl-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.map-ctrl-btn:hover {
  color: var(--text-primary);
  border-color: var(--glass-border-hover);
  transform: translateY(-1px);
}

.map-ctrl-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: #38bdf8;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.25);
}

.map-ctrl-btn[data-route="latam"].active {
  background: rgba(234, 179, 8, 0.15);
  border-color: var(--accent-primary);
  color: #fbbf24;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.25);
}

.map-ctrl-btn[data-route="air"].active {
  background: rgba(168, 85, 247, 0.15);
  border-color: #a855f7;
  color: #c084fc;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
}

/* Contenedor del Mapa Vectorial Interactivo */
.vector-map-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  background: #070c18;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.vector-map-wrapper.is-panning {
  cursor: grabbing !important;
}

/* Toolbar de Zoom Flotante */
.map-zoom-toolbar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 30;
  background: rgba(10, 16, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
}

.map-zoom-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: all 0.2s ease;
  user-select: none;
}

.map-zoom-btn:hover {
  background: rgba(6, 182, 212, 0.25);
  border-color: #00e5ff;
  color: #00e5ff;
  transform: scale(1.06);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.map-zoom-btn:active {
  transform: scale(0.94);
}

.map-zoom-btn.reset-btn {
  font-size: 1rem;
}

/* Indicador de Ayuda para Arrastre */
.map-nav-hint {
  position: absolute;
  bottom: 0.85rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 20;
  background: rgba(10, 16, 32, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  transition: opacity 0.4s ease;
}

.vector-map-wrapper.is-zoomed .map-nav-hint {
  opacity: 0.3;
}

.vector-trade-map,
.vector-world-map {
  width: 100%;
  height: auto;
  display: block;
}

/* Capas de Países en Proyección Asia-Pacífico Continuo */
.map-landmasses path,
.map-landmasses g,
.countries-layer path,
.countries-layer g {
  fill: #111a2e;
  stroke: #1e293b;
  stroke-width: 0.55px;
  transition: fill 0.25s ease;
}

.map-landmasses path:hover,
.map-landmasses g:hover {
  fill: #1a2744;
}

/* Países Clave de la Operativa Global */
.land-china,
.countries-layer #cn, .countries-layer #cn path {
  fill: #172554 !important;
  stroke: #38bdf8 !important;
  stroke-width: 0.85px !important;
}

.land-iberia,
.countries-layer #es, .countries-layer #es path,
.countries-layer #pt, .countries-layer #pt path {
  fill: #083344 !important;
  stroke: #00e5ff !important;
  stroke-width: 0.85px !important;
}

.land-latam,
.countries-layer #mx, .countries-layer #mx path,
.countries-layer #co, .countries-layer #co path,
.countries-layer #pe, .countries-layer #pe path,
.countries-layer #cl, .countries-layer #cl path,
.countries-layer #br, .countries-layer #br path {
  fill: #2d1e08 !important;
  stroke: #f59e0b !important;
  stroke-width: 0.85px !important;
}

/* Grupos de Rutas y Filtros */
.logistic-route-group,
.route-group {
  transition: opacity 0.4s ease;
}

.logistic-route-group.dimmed,
.route-group.dimmed {
  opacity: 0.12;
}

/* Animaciones Fluidas de Flujo Logístico */
.pulse-stream-cyan {
  animation: routeFlowCyan 9s linear infinite;
}
.pulse-stream-gold {
  animation: routeFlowGold 9s linear infinite;
}
.pulse-stream-purple {
  animation: routeFlowPurple 7s linear infinite;
}

@keyframes routeFlowCyan {
  0% { stroke-dashoffset: 120; }
  100% { stroke-dashoffset: 0; }
}
@keyframes routeFlowGold {
  0% { stroke-dashoffset: 120; }
  100% { stroke-dashoffset: 0; }
}
@keyframes routeFlowPurple {
  0% { stroke-dashoffset: 80; }
  100% { stroke-dashoffset: 0; }
}

/* ================= NODOS Y ETIQUETAS DE CIUDADES ================= */
.map-city-node {
  cursor: pointer;
}

.city-hitarea {
  cursor: pointer;
}

.city-pulse {
  pointer-events: none;
  animation: nodeHaloPulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes nodeHaloPulse {
  0% { r: 4px; opacity: 0.9; }
  50% { r: 9px; opacity: 0.3; }
  100% { r: 14px; opacity: 0; }
}

.city-core {
  pointer-events: none;
  transition: r 0.25s ease, filter 0.25s ease;
}

/* Etiquetas y Badges Visibles por Defecto (Ultra legibles y de alto contraste) */
.city-label-badge {
  pointer-events: none;
  transition: all 0.25s ease;
  fill: #090e1c;
  stroke-width: 1.1px;
}

.badge-origin {
  stroke: #f59e0b;
  fill: rgba(11, 19, 38, 0.94);
}

.badge-dest-esp {
  stroke: #00e5ff;
  fill: rgba(8, 26, 44, 0.94);
}

.badge-dest-latam {
  stroke: #fbbf24;
  fill: rgba(28, 19, 8, 0.94);
}

.city-label-text {
  font-family: var(--font-primary), -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 700;
  fill: #ffffff;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.3px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9));
  transition: all 0.25s ease;
}

/* Iluminación Dinámica al Pasar el Ratón (Efecto HUD Premium) */
.map-city-node:hover .city-core {
  r: 5px;
  filter: drop-shadow(0 0 8px #ffffff);
}

.map-city-node.city-origin:hover .city-label-badge {
  fill: #f59e0b;
  stroke: #ffffff;
  stroke-width: 1.4px;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.8));
}
.map-city-node.city-origin:hover .city-label-text {
  fill: #000000;
  font-weight: 800;
  filter: none;
}

.map-city-node.city-dest-esp:hover .city-label-badge {
  fill: #00e5ff;
  stroke: #ffffff;
  stroke-width: 1.4px;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.8));
}
.map-city-node.city-dest-esp:hover .city-label-text {
  fill: #000000;
  font-weight: 800;
  filter: none;
}

.map-city-node.city-dest-latam:hover .city-label-badge {
  fill: #fbbf24;
  stroke: #ffffff;
  stroke-width: 1.4px;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.8));
}
.map-city-node.city-dest-latam:hover .city-label-text {
  fill: #000000;
  font-weight: 800;
  filter: none;
}

/* Tooltip Flotante de Detalle Inteligente y Auto-Ajustable */
.map-floating-tooltip {
  position: absolute;
  display: none;
  pointer-events: none;
  z-index: 120;
  background: rgba(10, 15, 29, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 229, 255, 0.15);
  max-width: min(290px, calc(100% - 24px));
  min-width: 190px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  opacity: 0;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-floating-tooltip.is-visible {
  display: flex;
  opacity: 1;
}

/* Caret / Flecha indicadora dinámica orientada a la coordenada exacta */
.map-floating-tooltip::after {
  content: '';
  position: absolute;
  left: var(--arrow-left, 50%);
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  transition: left 0.12s ease;
}

/* Posición Arriba (Por defecto cuando hay espacio suficiente) */
.map-floating-tooltip.pos-top {
  transform: translate(-50%, -100%) translateY(-12px);
}
.map-floating-tooltip.pos-top::after {
  top: 100%;
  bottom: auto;
  border-color: rgba(10, 15, 29, 0.96) transparent transparent transparent;
}

/* Posición Abajo (Auto-flip cuando la ciudad está cerca del borde superior) */
.map-floating-tooltip.pos-bottom {
  transform: translate(-50%, 0) translateY(12px);
}
.map-floating-tooltip.pos-bottom::after {
  top: auto;
  bottom: 100%;
  border-color: transparent transparent rgba(10, 15, 29, 0.96) transparent;
}

.tooltip-flag {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.tooltip-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.tooltip-city {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.tooltip-desc {
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.35;
}

.tooltip-time {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  line-height: 1.3;
  margin-top: 3px;
}

.map-routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.route-card {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.route-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  flex-shrink: 0;
}

.route-dot.cyan {
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.route-dot.purple {
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
}

.route-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.route-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 850px) {
  .map-routes-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- DIRECCIÓN Y AUTORIDAD ---------------- */
.team-leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.mentor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.25rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.mentor-photo {
  width: 280px;
  height: 280px;
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center center;
  border: 3px solid var(--glass-border);
  box-shadow: 0 14px 34px -6px rgba(0, 0, 0, 0.35);
  background: var(--bg-tertiary);
  margin-bottom: 1.75rem;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mentor-card:hover .mentor-photo {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--accent-primary);
  box-shadow: 0 18px 42px -6px rgba(255, 77, 0, 0.25);
}

.mentor-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mentor-info h3 {
  font-size: 1.65rem;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.mentor-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1.15rem;
  display: inline-block;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 77, 0, 0.08);
  border-radius: 9999px;
  border: 1px solid rgba(255, 77, 0, 0.22);
  line-height: 1.35;
  text-align: center;
  max-width: 96%;
}

.mentor-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 470px;
  margin: 0 auto 0.85rem;
}

.mentor-bio:last-child {
  margin-bottom: 0;
}

/* Sedes y Oficinas Full Width */
.office-card-full {
  padding: 2.25rem;
}

.office-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.office-flags {
  font-size: 2.2rem;
  letter-spacing: 0.25rem;
  flex-shrink: 0;
}

.office-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glass-border);
}

.office-loc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.office-loc-item .loc-pin {
  font-size: 1.25rem;
}

@media (max-width: 900px) {
  .team-leadership-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mentor-card {
    padding: 2.5rem 1.5rem;
  }
  .mentor-photo {
    width: 250px;
    height: 250px;
    max-width: 85%;
    margin-bottom: 1.5rem;
  }
  .office-locations-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .office-card-full {
    padding: 1.5rem 1.15rem;
  }
  .office-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    text-align: left;
  }
  .office-flags {
    font-size: 1.7rem;
    letter-spacing: 0.35rem;
    margin-bottom: 0.15rem;
  }
  .office-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }
  .office-header p {
    font-size: 0.92rem;
    line-height: 1.45;
    width: 100%;
  }
  .office-locations-grid {
    grid-template-columns: 1fr;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    padding-top: 1rem;
    justify-content: flex-start;
  }
  .office-loc-item {
    font-size: 0.92rem;
    gap: 0.45rem;
    white-space: nowrap;
  }
  .office-loc-item .loc-pin {
    font-size: 1.1rem;
  }
}

/* ---------------- CONTACTO & FORMULARIO ---------------- */
.contact-section {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 3.5rem;
  align-items: center;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-info-item .icon {
  font-size: 1.5rem;
  line-height: 1;
}

.contact-info-item h4 {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.contact-form-panel {
  padding: 2.5rem;
  border-radius: var(--radius-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: none;
}

/* Alerta de Éxito del Formulario */
.form-alert {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.form-alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
}

/* ---------------- FOOTER REESTRUCTURADO ---------------- */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  background: var(--bg-secondary);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}

.footer-brand-col .footer-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-nav-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

/* Botón Oficial Instagram Pill */
.instagram-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-tertiary);
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.instagram-pill svg {
  color: var(--accent-primary);
}

.instagram-pill:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Fila Inferior del Footer */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.footer-legal-btn:hover {
  color: var(--accent-primary);
}

.legal-separator {
  color: var(--glass-border);
}

@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-social-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}


/* ---------------- MODALS (LEGAL) ---------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--panel-shadow);
  max-width: 750px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-line;
}

.modal-body h4 {
  color: var(--text-primary);
  margin-top: 1rem;
}

/* ---------------- FLOATING WHATSAPP BUTTON ---------------- */
.floating-wa-btn {
  position: fixed;
  bottom: 6.75rem;
  right: 2.35rem;
  z-index: 950;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  font-size: 1.55rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@media (max-width: 480px) {
  .floating-wa-btn {
    bottom: 5.4rem;
    right: 1.5rem;
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.35rem;
  }
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------- OPTIMIZACIONES EXCLUSIVAS MODO CLARO (.theme-light) ---------------- */
.theme-light .navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

/* Recuadros Generales (.glass-panel) */
.theme-light .glass-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.theme-light .glass-panel:hover {
  border-color: rgba(255, 77, 0, 0.40);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(255, 77, 0, 0.10);
}

/* Panel de Estadísticas en Hero (Remarcado con Nitidez Inmediata) */
.theme-light .stats-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 6px 22px -3px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.theme-light .stats-panel .stat-num {
  color: var(--accent-primary);
}

.theme-light .stats-panel .stat-lbl {
  color: #475569;
  font-weight: 500;
}

/* Tarjetas Paso a Paso (Cómo Funciona) */
.theme-light .step-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.theme-light .step-card:hover {
  border-color: rgba(255, 77, 0, 0.40);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(255, 77, 0, 0.10);
}

.theme-light .step-number {
  background: rgba(255, 77, 0, 0.10);
  border: 1.5px solid rgba(255, 77, 0, 0.35);
  box-shadow: 0 2px 8px rgba(255, 77, 0, 0.08);
  color: var(--accent-primary);
}

/* Tarjetas de Servicios 360 */
.theme-light .service-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.04);
}

.theme-light .service-card:hover {
  border-color: rgba(255, 77, 0, 0.40);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(255, 77, 0, 0.10);
}

.theme-light .service-icon {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* Sección Canton Fair */
.theme-light .canton-section {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(255, 248, 242, 0.75) 50%, rgba(241, 245, 249, 0.6) 100%);
  border-top: 1px solid rgba(255, 77, 0, 0.18);
  border-bottom: 1px solid rgba(255, 77, 0, 0.18);
}

.theme-light .canton-hero-card {
  background: linear-gradient(145deg, #ffffff 0%, #fffbf6 50%, #fff5eb 100%);
  border: 1.5px solid rgba(255, 77, 0, 0.35);
  box-shadow: 0 12px 34px -4px rgba(255, 77, 0, 0.12), 0 4px 14px rgba(15, 23, 42, 0.05);
}

.theme-light .canton-date-pill {
  background: #ffffff;
  border: 1.5px solid rgba(255, 77, 0, 0.40);
  box-shadow: 0 2px 8px rgba(255, 77, 0, 0.08);
}

.theme-light .canton-editions-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 6px 22px -3px rgba(15, 23, 42, 0.07);
}

.theme-light .canton-hero-card h2 {
  color: #0f172a;
}

.theme-light .canton-hero-card p {
  color: #334155;
  font-weight: 450;
}

.theme-light .canton-hero-card .btn-outline {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.25);
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.theme-light .canton-hero-card .btn-outline:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.theme-light .canton-stat-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
}

.theme-light .canton-stat-card:hover {
  border-color: rgba(255, 77, 0, 0.40);
  box-shadow: 0 10px 24px -3px rgba(255, 77, 0, 0.12);
  transform: translateY(-3px);
}

.theme-light .canton-stat-card .lbl {
  color: #475569;
  font-weight: 500;
}

.theme-light .canton-section .section-header p,
.theme-light .canton-section p {
  color: #475569;
}

.theme-light .phase-tab-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  color: #334155;
}

.theme-light .phase-tab-btn:hover {
  background: #ffffff;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(255, 77, 0, 0.12);
}

.theme-light .phase-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #ff6a26 100%);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.theme-light .phase-content-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.08);
}

.theme-light .phase-content-panel p,
.theme-light .phase-content-panel li {
  color: #334155;
}

.theme-light .timeline-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.06);
}

.theme-light .timeline-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -3px rgba(15, 23, 42, 0.08);
}

.theme-light .timeline-card h4 {
  color: #0f172a;
}

.theme-light .timeline-card p {
  color: #475569;
}

.theme-light .timeline-step-badge {
  background: rgba(6, 182, 212, 0.12);
  color: #0284c7;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

/* Mapa Vectorial y Rutas */
.theme-light .vector-map-wrapper {
  border: 1.5px solid rgba(15, 23, 42, 0.16);
  box-shadow: 0 16px 40px -4px rgba(15, 23, 42, 0.14);
}

.theme-light .map-ctrl-btn {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  color: #334155;
}

.theme-light .map-ctrl-btn:hover {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.28);
}

.theme-light .route-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
}

.theme-light .route-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, 0.25);
  box-shadow: 0 8px 24px -3px rgba(15, 23, 42, 0.08);
}

/* Tarjetas de Equipo y Sedes */
.theme-light .mentor-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 6px 22px -3px rgba(15, 23, 42, 0.07);
}

.theme-light .mentor-card:hover {
  border-color: rgba(255, 77, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px -4px rgba(15, 23, 42, 0.12);
}

.theme-light .mentor-photo {
  border: 3px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.1);
}

.theme-light .mentor-role {
  background: rgba(255, 77, 0, 0.07);
  border: 1px solid rgba(255, 77, 0, 0.2);
}

.theme-light .office-card-full {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 6px 22px -3px rgba(15, 23, 42, 0.07);
}

.theme-light .office-locations-grid {
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

/* Sección de Contacto: Recuadros Remarcados en Ambas Columnas */
.theme-light .contact-info-item {
  background: #ffffff;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 3px 14px -2px rgba(15, 23, 42, 0.05);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.theme-light .contact-info-item:hover {
  border-color: rgba(255, 77, 0, 0.40);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -2px rgba(15, 23, 42, 0.08);
}

.theme-light .contact-form-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 10px 32px -4px rgba(15, 23, 42, 0.08);
}

.theme-light .form-input {
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.16);
  color: var(--text-primary);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.theme-light .form-input:focus {
  background: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow), inset 0 1px 2px rgba(15, 23, 42, 0.02);
}

.theme-light .form-input::placeholder {
  color: #94a3b8;
}

.theme-light .btn-outline {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.16);
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.theme-light .btn-outline:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* ============================================================
   JORNADA COMERCIAL ENRIQUECIDA (PILAR DE CANTON FAIR)
   ============================================================ */
.journey-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 960px) {
  .journey-timeline {
    grid-template-columns: 1fr;
  }
}

.timeline-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  background: var(--bg-secondary);
}

.timeline-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 77, 0, 0.4);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.4);
}

.timeline-step-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  background: rgba(255, 77, 0, 0.12);
  border: 1px solid rgba(255, 77, 0, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.timeline-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.timeline-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.theme-light .timeline-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.theme-light .timeline-card:hover {
  border-color: rgba(255, 77, 0, 0.45);
  box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.09);
}

/* ==============================================================================
   PÁGINA DEDICADA DE PREGUNTAS FRECUENTES (FAQ & KNOWLEDGE BASE) - ULTRA PREMIUM
   ============================================================================== */
.page-faq {
  overflow-x: hidden;
  position: relative;
}

.faq-hero {
  position: relative;
  padding: 8rem 0 3.5rem;
  text-align: center;
  overflow: hidden;
}

.faq-ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.faq-ambient-glow.glow-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--accent-primary) 0%, rgba(255, 77, 0, 0) 70%);
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
}

.faq-ambient-glow.glow-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #00f2fe 0%, rgba(0, 242, 254, 0) 70%);
  top: 140px;
  right: 15%;
}

.faq-hero-container {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
}

/* Barra Superior Alineada: Breadcrumb y Badge Oficial (Píldoras Gemelas) */
.faq-header-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.85rem;
}

.faq-header-pills .faq-breadcrumb-wrap {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

.theme-light .faq-header-pills .faq-breadcrumb-wrap {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.faq-header-pills .faq-top-badge {
  margin-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 77, 0, 0.12);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 77, 0, 0.35);
  box-shadow: 0 0 16px rgba(255, 77, 0, 0.15);
  line-height: 1.2;
}

.faq-breadcrumb-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.faq-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.faq-back-link:hover {
  color: #ff7a00;
  transform: translateX(-2px);
}

.faq-breadcrumb-wrap .sep {
  opacity: 0.35;
}

.faq-breadcrumb-wrap .current {
  color: var(--text-primary);
  font-weight: 500;
}

.faq-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.faq-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

/* Tiras de Métricas Destacadas */
.faq-highlight-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.faq-strip-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.faq-strip-item:hover {
  border-color: rgba(255, 77, 0, 0.35);
  transform: translateY(-2px);
}

.faq-strip-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.faq-strip-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  font-weight: 700;
}

.faq-strip-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Barra de Filtros de Categorías */
.faq-filters-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.faq-pill-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.35rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-pill-filter:hover {
  border-color: rgba(255, 77, 0, 0.4);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.faq-pill-filter.active {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #ff7a00 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(255, 77, 0, 0.35);
  transform: translateY(-2px);
}

/* Contenedor de Preguntas */
.faq-content-section {
  padding: 1.5rem 0 5rem;
  position: relative;
  z-index: 2;
}

.faq-cards-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Tarjeta individual de Pregunta */
.faq-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.18);
}

.theme-light .faq-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.faq-card:hover {
  border-color: rgba(255, 77, 0, 0.3);
  box-shadow: 0 8px 32px -4px rgba(255, 77, 0, 0.12);
}

.faq-card.active {
  border-color: rgba(255, 77, 0, 0.55);
  box-shadow: 0 12px 40px -4px rgba(255, 77, 0, 0.22);
}

/* Botón Encabezado de Pregunta */
.faq-card-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.85rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.faq-card-header:hover {
  background: rgba(255, 77, 0, 0.02);
}

.faq-header-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.faq-meta-capsule {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-number-capsule {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-primary);
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

.faq-category-capsule {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.faq-card-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  transition: color 0.2s ease;
}

.faq-card:hover .faq-card-title {
  color: #ff6a00;
}

.faq-card.active .faq-card-title {
  color: var(--accent-primary);
}

/* Icono redondo con giro de 45 grados */
.faq-toggle-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-primary);
}

.faq-toggle-btn svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card.active .faq-toggle-btn {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(255, 77, 0, 0.4);
}

.faq-card.active .faq-toggle-btn svg {
  transform: rotate(45deg);
}

/* Panel Desplegable */
.faq-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-card.active .faq-card-body {
  max-height: 1200px;
}

.faq-card-inner {
  padding: 0 1.85rem 1.85rem;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.35rem;
}

.theme-light .faq-card-inner {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.faq-card-inner p {
  margin-bottom: 0.95rem;
}

.faq-card-inner strong {
  color: var(--text-primary);
}

.faq-card-inner ul,
.faq-card-inner ol {
  margin: 0.95rem 0 1.25rem 1.4rem;
}

.faq-card-inner li {
  margin-bottom: 0.6rem;
}

/* Callout Box "Pro Tip de Eric" */
.faq-pro-tip {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(255, 77, 0, 0.08);
  border-left: 4px solid var(--accent-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1.25rem;
  font-size: 0.94rem;
}

.faq-pro-tip .tip-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.faq-pro-tip strong {
  color: var(--accent-primary);
}

/* Cuadrícula de Fases y Rutas dentro de respuestas */
.faq-inner-phases {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.15rem 0;
  background: var(--bg-tertiary);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
}

.faq-inner-phase-item strong {
  display: block;
  color: var(--accent-primary);
  font-size: 0.96rem;
  margin-bottom: 0.25rem;
}

.faq-inner-phase-item span {
  font-size: 0.92rem;
}

.faq-inner-transit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.15rem 0;
}

.faq-transit-card {
  background: var(--bg-tertiary);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Micro botón de consulta en el chat */
.faq-ask-assistant-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-primary);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s ease;
}

.faq-ask-assistant-link:hover {
  color: #ff8c00;
  text-decoration: underline;
}

/* Sección VIP de Conversión al Pie */
.faq-vip-banner {
  margin-top: 4.5rem;
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.14) 0%, rgba(20, 24, 33, 0.85) 100%);
  border: 1px solid rgba(255, 77, 0, 0.35);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px -8px rgba(0, 0, 0, 0.3);
}

.theme-light .faq-vip-banner {
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.09) 0%, #ffffff 100%);
  border-color: rgba(255, 77, 0, 0.3);
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.08);
}

.faq-vip-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.faq-vip-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-primary);
  box-shadow: 0 0 24px rgba(255, 77, 0, 0.4);
}

.faq-vip-status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #080b11;
}

.faq-vip-info {
  flex-grow: 1;
}

.faq-vip-info h3 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.faq-vip-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 620px;
}

.faq-vip-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------------- OPTIMIZACIONES EXCLUSIVAS FAQ MODO CLARO (.theme-light) ---------------- */
.theme-light .faq-hero {
  background: transparent;
}

.theme-light .faq-ambient-glow {
  opacity: 0.12;
}

.theme-light .faq-breadcrumb-wrap {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.theme-light .faq-breadcrumb-wrap .current {
  color: #0f172a;
}

.theme-light .faq-back-link {
  color: #ea580c;
}

.theme-light .faq-back-link:hover {
  color: #c2410c;
}

.theme-light .faq-header-pills .faq-top-badge {
  background: rgba(255, 77, 0, 0.08);
  color: #ea580c;
  border-color: rgba(255, 77, 0, 0.28);
  box-shadow: 0 2px 10px rgba(255, 77, 0, 0.08);
}

.theme-light .faq-title {
  color: #0f172a;
}

.theme-light .faq-subtitle {
  color: #475569;
}

.theme-light .faq-strip-item {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.05);
}

.theme-light .faq-strip-item:hover {
  border-color: rgba(255, 77, 0, 0.4);
  box-shadow: 0 6px 20px -2px rgba(255, 77, 0, 0.12);
}

.theme-light .faq-strip-text strong {
  color: #0f172a;
}

.theme-light .faq-strip-text span {
  color: #475569;
}

.theme-light .faq-pill-filter {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #334155;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.theme-light .faq-pill-filter:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: rgba(255, 77, 0, 0.4);
}

.theme-light .faq-pill-filter.active {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #ff7a00 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255, 77, 0, 0.35);
}

.theme-light .faq-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.theme-light .faq-card:hover {
  border-color: rgba(255, 77, 0, 0.45);
  box-shadow: 0 8px 28px -4px rgba(255, 77, 0, 0.14);
}

.theme-light .faq-card.active {
  border-color: rgba(255, 77, 0, 0.65);
  box-shadow: 0 12px 36px -4px rgba(255, 77, 0, 0.2);
}

.theme-light .faq-card-title {
  color: #0f172a;
}

.theme-light .faq-card:hover .faq-card-title {
  color: #ea580c;
}

.theme-light .faq-card.active .faq-card-title {
  color: var(--accent-primary);
}

.theme-light .faq-toggle-btn {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a;
}

.theme-light .faq-card.active .faq-toggle-btn {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #ffffff;
}

.theme-light .faq-number-capsule {
  background: rgba(255, 77, 0, 0.08);
  border-color: rgba(255, 77, 0, 0.28);
  color: #ea580c;
}

.theme-light .faq-category-capsule {
  color: #64748b;
}

.theme-light .faq-card-inner {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: #334155;
}

.theme-light .faq-card-inner strong {
  color: #0f172a;
}

.theme-light .faq-pro-tip {
  background: rgba(255, 77, 0, 0.07);
  border-left-color: var(--accent-primary);
  color: #334155;
}

.theme-light .faq-pro-tip strong {
  color: #c2410c;
}

.theme-light .faq-inner-phases {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.theme-light .faq-inner-phase-item span {
  color: #334155;
}

.theme-light .faq-transit-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #1e293b;
}

.theme-light .faq-vip-banner {
  background: linear-gradient(135deg, rgba(255, 77, 0, 0.08) 0%, #ffffff 100%);
  border-color: rgba(255, 77, 0, 0.3);
  box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.08);
}

.theme-light .faq-vip-info h3 {
  color: #0f172a;
}

.theme-light .faq-vip-info p {
  color: #334155;
}

.theme-light .faq-vip-status-dot {
  border-color: #ffffff;
}

@media (max-width: 850px) {
  .faq-hero {
    padding: 6.5rem 1rem 2.25rem;
  }
  .faq-highlight-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .faq-inner-transit-grid {
    grid-template-columns: 1fr;
  }
  .faq-vip-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.25rem 1.5rem;
  }
  .faq-vip-info p {
    margin-left: auto;
    margin-right: auto;
  }
  .faq-vip-actions {
    justify-content: center;
  }
  .faq-card-header {
    padding: 1.25rem 1.25rem;
  }
  .faq-card-inner {
    padding: 0 1.25rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .faq-hero {
    padding: 5.5rem 0.85rem 1.75rem;
  }
  .faq-header-pills {
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }
  .faq-header-pills .faq-breadcrumb-wrap,
  .faq-header-pills .faq-top-badge {
    font-size: 0.76rem;
    padding: 0.38rem 0.85rem;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
  }
  .faq-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    line-height: 1.22;
    margin-bottom: 0.85rem;
  }
  .faq-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .faq-filters-bar {
    gap: 0.4rem;
    justify-content: center;
  }
  .faq-pill-filter {
    font-size: 0.78rem;
    padding: 0.45rem 0.8rem;
  }
  .faq-content-section {
    padding: 1rem 0 3rem;
  }
  .faq-cards-grid {
    gap: 0.85rem;
  }
  .faq-card-header {
    padding: 1.1rem 0.95rem;
    gap: 0.65rem;
  }
  .faq-card-title {
    font-size: 1.02rem;
    line-height: 1.35;
  }
  .faq-toggle-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }
  .faq-card-inner {
    padding: 0 0.95rem 1.25rem;
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .faq-vip-banner {
    padding: 1.75rem 1rem;
    gap: 1.25rem;
    margin-top: 3rem;
  }
  .faq-vip-avatar {
    width: 76px;
    height: 76px;
  }
  .faq-vip-info h3 {
    font-size: 1.28rem;
  }
  .faq-vip-info p {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }
  .faq-vip-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .faq-vip-actions .btn {
    width: 100%;
    justify-content: center;
  }
}



