/* Ajustes finales de producción: identidad, legibilidad y encuadres seguros. */
.site-header,
.site-header.is-scrolled {
  background: rgba(2, 12, 24, 0.97);
  border-bottom-color: rgba(121, 214, 255, 0.16);
  color: #f8f9ff;
  box-shadow: 0 10px 30px rgba(0, 3, 15, 0.16);
  backdrop-filter: blur(16px);
}

.site-header nav a {
  color: #f8f9ff;
  font-size: 0.95rem;
  font-weight: 520;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #8bdcff;
}

.header-cta {
  font-size: 0.88rem;
}

.menu-toggle {
  border-color: rgba(139, 220, 255, 0.35);
  color: #f8f9ff;
  background: rgba(255, 255, 255, 0.06);
}

.service-card .service-image {
  filter: drop-shadow(0 0 16px rgba(117, 220, 255, 0.42));
}

.hero-identity-logo {
  mix-blend-mode: normal;
  background: transparent;
}

.world-network-section .world-country-chips {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  pointer-events: auto;
}

.world-network-section .world-country-chip--featured,
.world-network-section .world-country-chip--extended {
  display: inline-flex !important;
  align-items: center;
  min-height: 32px;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(118, 207, 242, 0.26);
  border-radius: 999px;
  background: rgba(5, 31, 52, 0.92);
  color: #d8f1ff;
  box-shadow: 0 6px 16px rgba(1, 17, 31, 0.18);
  font-size: 0.66rem;
  line-height: 1;
  white-space: nowrap;
}

.world-network-section .world-country-chip img {
  width: 20px;
  height: 13px;
  border-radius: 2px;
}

.team-showcase {
  width: min(100%, 1120px);
  height: clamp(380px, 38vw, 470px);
  min-height: 0;
  margin: 32px auto 0;
  aspect-ratio: auto;
}

.team-showcase > img {
  object-fit: cover;
  object-position: 50% 0%;
}

.team-showcase::after {
  background: linear-gradient(0deg, rgba(0, 17, 31, 0.92), rgba(0, 17, 31, 0.38) 28%, transparent 58%);
}

.team-showcase-copy {
  inset: auto auto 28px 34px;
  transform: none;
  max-width: 430px;
}

.footer-isotype {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.24));
}

@media (max-width: 1200px) {
  .site-header nav a {
    font-size: 0.9rem;
  }

  .header-cta {
    font-size: 0.82rem;
  }
}

@media (max-width: 760px) {
  .site-header nav {
    background: #020c18;
    border-bottom-color: rgba(121, 214, 255, 0.18);
  }

  .site-header nav a {
    color: #f8f9ff;
    font-size: 1rem;
  }

  .world-network-map.world-vector-stage {
    height: 520px !important;
    min-height: 520px !important;
  }

  .world-network-map.world-vector-stage::after,
  .world-map-static {
    inset: 12px 10px 116px !important;
    width: calc(100% - 20px) !important;
    height: calc(100% - 128px) !important;
  }

  .world-flag-markers {
    inset: 12px 10px 116px !important;
  }

  .world-network-section .world-country-chips {
    left: 10px !important;
    right: 10px !important;
    bottom: 9px !important;
    gap: 5px;
  }

  .world-network-section .world-country-chip--featured,
  .world-network-section .world-country-chip--extended {
    min-height: 25px;
    gap: 4px;
    padding: 4px 7px;
    font-size: 0.55rem;
  }

  .world-network-section .world-country-chip img {
    width: 18px;
    height: 12px;
  }

  .team-showcase {
    display: grid;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    min-height: 0;
    margin-top: 24px;
  }

  .team-showcase > img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: 50% 50%;
  }

  .team-showcase::after {
    display: none;
  }

  .team-showcase-copy {
    position: relative;
    inset: auto;
    max-width: none;
    padding: 24px 22px 28px;
    transform: none;
    background: #031524;
  }
}