/* ===== Sombras en tarjetas blancas ===== */
.card-shadow {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.bento-card,
.float-card,
.stat-card,
.service-explorer,
.office-pill,
.mini-card,
.cta-box {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.05),
    0 8px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.service-panel {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ===== Vida, color e interactividad ===== */
:root {
  --blue: #0071e3;
  --purple: #7c3aed;
  --teal: #0d9488;
  --orange: #ea580c;
  --pink: #db2777;
  --indigo: #4f46e5;
}

.cursor-dot {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: multiply;
  opacity: 0.6;
  transition: width 0.2s, height 0.2s;
}

.cursor-dot.active {
  width: 36px;
  height: 36px;
  opacity: 0.25;
}

/* ===== Pantalla de bienvenida — estilo corporativo sobrio ===== */
.welcome {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #1e3348;
  color: #f5f5f7;
}

.welcome-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #1e3348;
}

.welcome-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.welcome-video.is-playing {
  opacity: 1;
}

.welcome-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(26, 45, 65, 0.88) 0%,
    rgba(30, 51, 72, 0.78) 45%,
    rgba(20, 38, 55, 0.92) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .welcome-video {
    display: none;
  }
  .welcome-bg {
    background: linear-gradient(165deg, #2a4563 0%, #1e3348 50%, #172a3d 100%);
  }
}

.welcome-bar {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.welcome-bar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.welcome-bar-link:hover {
  color: #fff;
}

.welcome-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 0 100px;
  max-width: 820px;
}

.welcome-tagline {
  display: block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.welcome-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #fff;
}

.welcome-title-accent {
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

.welcome-subtitle {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}

.welcome-desc {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin: 0 auto 36px;
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn-fill--light {
  background: #fff !important;
  color: #1e3348 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.btn-fill--light:hover {
  background: #f5f5f7 !important;
}

.btn-ghost {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.welcome-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.welcome-scroll:hover {
  color: rgba(255, 255, 255, 0.85);
}

.welcome-scroll-chevron {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Nav transparente sobre bienvenida */
.header--welcome {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}

.header--welcome .logo,
.header--welcome .nav-links a:not(.nav-cta) {
  color: #fff !important;
  opacity: 0.9;
}

.header--welcome .logo__img {
  filter: brightness(0) invert(1);
}

.header--welcome .nav-links a:not(.nav-cta):hover {
  opacity: 1;
}

.header--welcome .nav-cta {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
}

.header--welcome .nav-cta:hover {
  background: rgba(255, 255, 255, 0.28) !important;
}

.header--welcome .nav-toggle span {
  background: #fff;
}

.header--welcome .lang-switcher {
  background: rgba(255, 255, 255, 0.12);
}

.header--welcome .lang-btn {
  color: #fff;
}

.header--welcome .lang-btn.active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--accent);
}

@media (max-width: 734px) {
  .welcome-bar {
    top: 56px;
    justify-content: center;
    text-align: center;
  }
  .welcome-bar-meta {
    font-size: 11px;
  }
  .welcome-content {
    padding: 100px 0 88px;
  }
}

.hero-blob--4 {
  width: 320px;
  height: 320px;
  background: #ffc4dd;
  bottom: 20%;
  right: 10%;
  animation-delay: -6s;
}

.hero {
  text-align: left;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0 48px;
}

.hero-content { max-width: none; margin: 0; padding: 0; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip {
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.chip--active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-outline {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(0, 113, 227, 0.08);
  transform: scale(1.02);
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.float-card {
  position: absolute;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease-out;
  cursor: default;
}

.float-card--1 {
  top: 8%;
  left: 5%;
  border-left: 4px solid var(--blue);
  animation: floatY 5s ease-in-out infinite;
}

.float-card--2 {
  top: 38%;
  right: 0;
  border-left: 4px solid var(--purple);
  animation: floatY 5.5s ease-in-out infinite -1.5s;
}

.float-card--3 {
  bottom: 8%;
  left: 15%;
  border-left: 4px solid var(--pink);
  animation: floatY 6s ease-in-out infinite -3s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-icon { font-size: 28px; display: block; margin-bottom: 8px; }

.float-card strong { display: block; font-size: 15px; margin-bottom: 4px; }

.float-meta { font-size: 12px; color: var(--text-secondary); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  max-width: none;
}

.stat-card {
  padding: 24px 20px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  cursor: default;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.stat-card--blue { background: linear-gradient(145deg, #dbeafe, #eff6ff); }
.stat-card--purple { background: linear-gradient(145deg, #ede9fe, #f5f3ff); }
.stat-card--teal { background: linear-gradient(145deg, #ccfbf1, #f0fdfa); }
.stat-card--orange { background: linear-gradient(145deg, #ffedd5, #fff7ed); }

.stat-icon { font-size: 28px; display: block; margin-bottom: 8px; }

.pill { padding: 8px 18px !important; font-weight: 600 !important; }
.pill--blue { background: #dbeafe !important; color: #1d4ed8 !important; border-color: #93c5fd !important; }
.pill--purple { background: #ede9fe !important; color: #6d28d9 !important; border-color: #c4b5fd !important; }
.pill--teal { background: #ccfbf1 !important; color: #0f766e !important; border-color: #5eead4 !important; }
.pill--orange { background: #ffedd5 !important; color: #c2410c !important; border-color: #fdba74 !important; }
.pill--pink { background: #fce7f3 !important; color: #be185d !important; border-color: #f9a8d4 !important; }

.bento-card--gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  border: none !important;
}

.bento-card--gradient .bento-label,
.bento-card--gradient .bento-desc { color: rgba(255,255,255,0.85) !important; }

.bento-card--blue { background: linear-gradient(135deg, #eff6ff, #fff) !important; border-color: #93c5fd !important; }
.bento-card--purple { background: linear-gradient(135deg, #f5f3ff, #fff) !important; border-color: #c4b5fd !important; }
.bento-card--teal { background: linear-gradient(135deg, #f0fdfa, #fff) !important; border-color: #5eead4 !important; }

.section--color {
  background: linear-gradient(180deg, #fff 0%, #f0f7ff 50%, #fdf4ff 100%);
}

.service-explorer {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-tab {
  flex: 1;
  min-width: 100px;
  padding: 14px 12px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 14px;
  background: var(--bg-gray);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.service-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-tab.active {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.2);
}

.service-panel {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 18px;
}

.service-panel-inner {
  position: absolute;
  inset: 0;
  padding: 32px 32px 32px 48px;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.service-panel-inner.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.panel-color {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 6px 0 0 6px;
}

.panel-color--blue { background: var(--blue); }
.panel-color--purple { background: var(--purple); }
.panel-color--teal { background: var(--teal); }
.panel-color--orange { background: var(--orange); }
.panel-color--indigo { background: var(--indigo); }
.panel-color--pink { background: var(--pink); }

.service-panel-inner h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-panel-inner p { color: var(--text-secondary); margin-bottom: 16px; }

.service-panel-inner ul {
  list-style: none;
  margin-bottom: 24px;
}

.service-panel-inner li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.service-panel-inner li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #30d158;
  font-weight: 700;
}

.panel-cta {
  display: inline-block;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.panel-cta:hover { text-decoration: underline; }

.services-grid-mini {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.mini-card {
  padding: 20px 12px;
  text-align: center;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.mini-card span { font-size: 28px; display: block; margin-bottom: 8px; }

.mini-card h4 { font-size: 13px; font-weight: 600; }

.mini-card--blue { background: #eff6ff; }
.mini-card--purple { background: #f5f3ff; }
.mini-card--teal { background: #f0fdfa; }
.mini-card--orange { background: #fff7ed; }
.mini-card--indigo { background: #eef2ff; }
.mini-card--pink { background: #fdf2f8; }

.mini-card:hover {
  transform: translateY(-6px) scale(1.05);
  border-color: currentColor;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

/* ===== Mapa mundial interactivo ===== */
.section--global {
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 24px;
}

.region-tab {
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  background: #f5f5f7;
  cursor: pointer;
  transition: all 0.25s;
}

.region-tab:hover {
  background: #e8f4ff;
  border-color: #93c5fd;
}

.region-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.world-explorer {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border-radius: 24px;
  align-items: stretch;
}

/* Globo 3D (Three.js canvas) */
.globe-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
  overflow: visible;
}

#globeCanvas {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  height: auto;
  display: block;
  cursor: grab;
  background: transparent;
}

#globeCanvas:active {
  cursor: grabbing;
}

.globe-legend {
  display: flex;
  gap: 20px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.legend-dot--hq { background: #0071e3; box-shadow: 0 0 8px #0071e3; }
.legend-dot--ops { background: #10b981; box-shadow: 0 0 8px #10b981; }

/* Sección Nosotros — storytelling (fondo neutro Apple/Linear) */
.section--story {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(41, 151, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #0c0e13 0%, #08090c 100%);
  color: #f5f5f7;
}

.story-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Patrón de puntos sutil — sustituye al grid de líneas */
.story-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

/* Línea horizontal de luz muy sutil arriba */
.story-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12) 50%, transparent);
}

.story-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
}

.story-orb--1 {
  width: 520px;
  height: 520px;
  background: #2997ff;
  top: -15%;
  right: -8%;
}

.story-orb--2 {
  width: 380px;
  height: 380px;
  background: #5b3aa0;
  bottom: 8%;
  left: -8%;
  opacity: 0.18;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.story-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}

.story-lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 32px;
}

.story-pillars {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-pillars li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  flex-shrink: 0;
}

.story-pillars strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.story-pillars span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.story-cta {
  margin-top: 8px;
}

/* Orbit visual */
.orbit-hub {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(0, 113, 227, 0.35);
  border-radius: 50%;
  animation: orbitSpin 24s linear infinite;
}

.orbit-ring--2 {
  inset: 22%;
  animation-direction: reverse;
  animation-duration: 18s;
  border-color: rgba(124, 58, 237, 0.35);
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0071e3, #7c3aed);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(0, 113, 227, 0.5);
  z-index: 2;
}


/* Logo — variantes */
.logo--welcome-hero {
  justify-content: center;
  margin-bottom: 28px;
}

.logo--welcome-hero .logo__img {
  height: 72px;
  max-width: 280px;
  filter: brightness(0) invert(1);
}

.logo--footer {
  justify-content: center;
  margin-bottom: 12px;
}

.logo--footer .logo__img {
  height: 44px;
}

.orbit-core .logo__img--mark {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}

.chat-head-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.logo__mark--chat {
  color: var(--accent);
  flex-shrink: 0;
}

.orbit-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.orbit-card {
  position: absolute;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  min-width: 110px;
  color: #1d1d1f;
  animation: orbitFloat 4s ease-in-out infinite;
}

.orbit-card span:first-child { font-size: 20px; }
.orbit-card strong { display: block; font-size: 13px; margin-top: 4px; }
.orbit-card small { font-size: 11px; color: #6e6e73; }

.orbit-card--1 { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.orbit-card--2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1s; }
.orbit-card--3 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.orbit-card--4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 3s; }

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes orbitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.impact-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 56px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.impact-item {
  text-align: center;
}

.impact-num {
  display: block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.impact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.impact-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

/* Partners */
.section--partners {
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.partners-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.partners-showcase {
  padding: 40px 32px;
  background: #fff;
  border-radius: 24px;
  margin-top: 32px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  padding: 16px;
  border-radius: 14px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #93c5fd;
}

.partner-card img {
  max-width: 110px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.25s, transform 0.25s;
}

.partner-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.partner-fallback {
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1.2;
}

.partners-note {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .story-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Texto primero, visual después — evita solapamiento en móvil */
  .story-content {
    order: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .story-content h2,
  .story-lead {
    max-width: 520px;
  }

  .story-pillars {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .story-pillars li {
    text-align: left;
  }

  .story-cta {
    align-self: center;
    margin-inline: auto;
  }

  .story-visual {
    order: 2;
    width: 100%;
    max-width: min(360px, 92vw);
    margin: 0 auto;
  }

  .orbit-hub {
    width: 100%;
    max-width: 360px;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0;
  }

  .orbit-ring { display: none; }

  .orbit-core {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    grid-column: 1 / -1;
    justify-self: center;
    width: 88px;
    height: 88px;
    margin-bottom: 4px;
  }

  .orbit-core .logo__img--mark {
    width: 40px;
    height: 40px;
  }

  .orbit-card {
    position: relative;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    animation: none;
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
  }

  .orbit-card--1 { grid-column: 1; }
  .orbit-card--2 { grid-column: 2; }
  .orbit-card--3 { grid-column: 1; }
  .orbit-card--4 { grid-column: 2; }

  .impact-divider { display: none; }
  .impact-strip { gap: 32px; }
}

.world-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

.country-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}

.country-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font);
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  background: #f9fafb;
  cursor: pointer;
  transition: all 0.2s;
}

.country-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.country-btn.active {
  background: #dbeafe;
  border-color: var(--blue);
  font-weight: 600;
}

.country-btn.is-hq::after {
  content: 'Sede';
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  background: #eff6ff;
  padding: 2px 8px;
  border-radius: 4px;
}

.country-btn.hidden { display: none; }

.office-detail-panel {
  position: relative;
  flex: 1;
  min-height: 180px;
  background: #fff;
  border-radius: 16px;
  padding: 4px;
}

.office-detail-panel .office-detail-card {
  position: absolute;
  inset: 0;
  padding: 24px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.35s var(--ease-out);
}

.office-detail-panel .office-detail-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.detail-country {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 6px;
}

.detail-flag { font-size: 36px; display: block; margin-bottom: 8px; }

.office-detail-panel h3 { font-size: 20px; margin-bottom: 8px; }

.office-detail-panel p { font-size: 15px; color: var(--text-secondary); margin-bottom: 12px; }

.global-stat {
  text-align: center;
  margin-top: 32px;
  font-size: 17px;
  color: var(--text-secondary);
}

.global-stat strong { color: var(--text); font-weight: 700; }

/* Contacto — diseño dividido */
.section--contact {
  padding: 100px 0 120px;
  background: linear-gradient(180deg, #f0f4ff 0%, #fff 50%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  max-width: 960px;
  margin-inline: auto;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
}

.contact-panel {
  padding: 48px 40px;
  background: linear-gradient(145deg, #0071e3 0%, #5856d6 55%, #7c3aed 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.contact-panel h2 {
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
}

.contact-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.perk-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 16px;
}

.contact-direct {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  width: fit-content;
}

.contact-link:hover {
  border-color: #fff;
}

.contact-chat-btn {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  width: fit-content;
}

.contact-chat-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

.contact-form--modern {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  background: #fff;
}

.contact-form--modern .form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-form--modern .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form--modern .field span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-form--modern .field--full {
  grid-column: 1 / -1;
}

.contact-form--modern input,
.contact-form--modern select,
.contact-form--modern textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 16px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.contact-form--modern input:focus,
.contact-form--modern select:focus,
.contact-form--modern textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.contact-form--modern select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%236e6e73' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-submit {
  margin-top: 8px;
  font-size: 17px;
  padding: 16px 24px;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-panel {
    padding: 36px 28px;
  }
  .contact-form--modern {
    padding: 32px 24px;
  }
  .contact-form--modern .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-content { text-align: center; }
  .hero-chips, .hero-actions { justify-content: center; }
  .hero-visual { min-height: 300px; margin-top: 24px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .world-explorer { grid-template-columns: 1fr; }
  .services-grid-mini { grid-template-columns: repeat(3, 1fr); }
  .service-tab { min-width: calc(50% - 8px); }
}

@media (max-width: 734px) {
  .cursor-dot { display: none; }
  .float-card { position: relative; margin-bottom: 12px; width: 100%; }
  .float-card--1, .float-card--2, .float-card--3 {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    animation: none;
  }
  .hero-visual { min-height: auto; display: flex; flex-direction: column; gap: 12px; }
  .services-grid-mini { grid-template-columns: repeat(2, 1fr); }
  .story-content h2 { font-size: clamp(26px, 7vw, 34px); }
  .story-lead { font-size: 16px; margin-bottom: 24px; }
  .vision-mock { transform: scale(0.92); transform-origin: top center; }
}

@media (max-width: 480px) {
  .services-grid-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-chips { justify-content: center; }
  .chip { font-size: 12px; padding: 7px 12px; }
  .contact-layout { border-radius: 20px; }
  .globe-stage { padding: 8px 0; }
  #globeCanvas { max-width: min(100%, 300px); }
}
