.international-section,
.international-section *,
.international-section *::before,
.international-section *::after {
  box-sizing: border-box;
}

.international-section h2,
.international-section p {
  margin: 0;
  padding: 0;
}

.international-section {
  --laeca-navy: #1a40ff;

  position: relative;
  padding: 5rem 2rem;
  background: linear-gradient(
    160deg,
    var(--laeca-navy) 0%,
    #0f2eb8 50%,
    #0a1f8a 100%
  );
  color: white;
  overflow: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.international-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.international-gradient {
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at 70% 30%,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
}

.international-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .international-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.international-text {
  max-width: 500px;
}

.international-title {
  margin-bottom: 1.5rem !important;
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: 96px;
  font-weight: 800;
  font-style: normal;
  line-height: 90px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

.international-title-line {
  display: block;
}

.international-title-line--white {
  color: #ffffff;
}

.international-title-line--gray {
  color: #9ca3af;
}

.international-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem !important;
}

.countries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  margin-bottom: 2.5rem;
}

.country-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.country-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00d4ff;
  flex-shrink: 0;
}

.international-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.international-cta:hover {
  background: white;
  color: var(--laeca-navy);
}

.international-cta i {
  transition: transform 0.3s ease;
}

.international-cta:hover i {
  transform: translateX(4px);
}

.globe-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  padding: 2.5rem;
}

.contenedor-laeca {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
  overflow: visible;
}

@media (min-width: 768px) {
  .contenedor-laeca {
    max-width: 540px;
  }
}

@media (min-width: 1024px) {
  .contenedor-laeca {
    max-width: 640px;
  }
}

.mapa-base {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block;
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(0, 217, 255, 0.08),
    inset 0 0 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 217, 255, 0.15);
  overflow: hidden;
}

/* Orbital Rings */

.orbital-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.orbital-ring-1 {
  width: 115%;
  height: 115%;
  border: 1px solid rgba(0, 217, 255, 0.4);
  animation: laeca-orbit-spin 40s linear infinite;
}

.orbital-ring-2 {
  width: 130%;
  height: 130%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: laeca-orbit-spin 55s linear infinite reverse;
  transform: translate(-50%, -50%) rotateX(55deg);
}

.orbital-particle {
  position: absolute;
  border-radius: 50%;
}

.orbital-particle-1 {
  width: 10px;
  height: 10px;
  background: rgba(0, 217, 255, 0.9);
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 20px rgba(0, 217, 255, 0.8),
    0 0 40px rgba(0, 217, 255, 0.5);
}

.orbital-particle-2 {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.9);
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  box-shadow:
    0 0 15px rgba(255, 255, 255, 0.6),
    0 0 30px rgba(255, 255, 255, 0.3);
}

/* Globe Crosshair */

.globe-crosshair {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.06;
}

.crosshair-vertical {
  width: 1px;
  height: 28%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 217, 255, 0.5),
    transparent
  );
}

.crosshair-horizontal {
  position: absolute;
  width: 28%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 217, 255, 0.5),
    transparent
  );
}

@keyframes laeca-orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes laeca-marker-ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.35);
    opacity: 0.95;
  }

  70% {
    opacity: 0.25;
  }

  100% {
    transform: translate(-50%, -50%) scale(3.4);
    opacity: 0;
  }
}

.punto-red {
  position: absolute;
  width: 30px;
  transition: transform 0.3s ease;
  cursor: pointer;
  z-index: 2;
}

.punto-red::before,
.punto-red::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(0, 255, 255, 0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.35);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.punto-red::before {
  animation: laeca-marker-ripple 2.2s ease-out infinite;
}

.punto-red::after {
  animation: laeca-marker-ripple 2.2s ease-out infinite 1.1s;
}


/* Tiempo y desfase por país:
   cada punto tiene un ritmo distinto para que no todas las ondas
   estén animándose al mismo tiempo. */
.mexico::before       { animation-duration: 2.0s; animation-delay: 0s; }
.mexico::after        { animation-duration: 2.0s; animation-delay: 1.0s; }

.cuba::before         { animation-duration: 2.4s; animation-delay: .35s; }
.cuba::after          { animation-duration: 2.4s; animation-delay: 1.55s; }

.jamaica::before      { animation-duration: 2.8s; animation-delay: .7s; }
.jamaica::after       { animation-duration: 2.8s; animation-delay: 2.1s; }

.el-salvador::before  { animation-duration: 2.2s; animation-delay: 1.05s; }
.el-salvador::after   { animation-duration: 2.2s; animation-delay: 2.15s; }

.costa-rica::before   { animation-duration: 3.0s; animation-delay: 1.4s; }
.costa-rica::after    { animation-duration: 3.0s; animation-delay: 2.9s; }

.colombia::before     { animation-duration: 2.6s; animation-delay: .2s; }
.colombia::after      { animation-duration: 2.6s; animation-delay: 1.5s; }

.venezuela::before    { animation-duration: 3.2s; animation-delay: .55s; }
.venezuela::after     { animation-duration: 3.2s; animation-delay: 2.15s; }

.ecuador::before      { animation-duration: 2.3s; animation-delay: .9s; }
.ecuador::after       { animation-duration: 2.3s; animation-delay: 2.05s; }

.peru::before         { animation-duration: 2.7s; animation-delay: 1.25s; }
.peru::after          { animation-duration: 2.7s; animation-delay: 2.6s; }

.chile::before        { animation-duration: 3.4s; animation-delay: 1.6s; }
.chile::after         { animation-duration: 3.4s; animation-delay: 3.3s; }

.torre-svg {
  position: relative;
  z-index: 2;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block;
  filter: drop-shadow(0 0 2px rgba(0, 255, 255, 0.5));
}

.etiqueta {
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  background: #00ffff;
  color: #000;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  white-space: nowrap;
}

.punto-red:hover {
  transform: scale(1.2);
  z-index: 10;
}

.punto-red:hover::before,
.punto-red:hover::after {
  border-color: rgba(255, 255, 255, 0.95);
}

.punto-red:hover .torre-svg {
  filter: drop-shadow(0 0 12px #00ffff) brightness(1.5);
}

.punto-red:hover .etiqueta {
  opacity: 1;
  visibility: visible;
}

/* Coordenadas originales */

.mexico {
  top: 38%;
  left: 23%;
}

.cuba {
  top: 42%;
  left: 38%;
}

.jamaica {
  top: 48%;
  left: 38%;
}

.el-salvador {
  top: 49%;
  left: 34%;
}

.costa-rica {
  top: 52%;
  left: 37%;
}

.colombia {
  top: 57%;
  left: 43%;
}

.venezuela {
  top: 55%;
  left: 49%;
}

.ecuador {
  top: 62%;
  left: 39%;
}

.peru {
  top: 70%;
  left: 45%;
}

.chile {
  top: 80%;
  left: 44%;
}

/* Responsive original del tema */

@media (max-width: 767px) {
  .international-section {
    padding: 3rem 1.25rem;
  }

  .international-content {
    padding-left: 0;
    padding-right: 0;
  }

  .international-title {
    font-size: 54px;
    line-height: 52px;
    letter-spacing: -1px;
  }

  .countries-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .international-title {
    font-size: 72px;
    line-height: 68px;
    letter-spacing: -1.25px;
  }
}


@media (min-width: 768px) and (max-width: 1023px) {
  .globe-container {
    padding: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .globe-container {
    padding: 3rem;
  }
}

@media (max-width: 767px) {
  .globe-container {
    padding: 1.75rem;
  }
}


/* =========================================================
CORRECCIÓN RESPONSIVE · ANILLOS / LÍNEAS ORBITALES COMPLETOS
Solo tablet y móvil. El objetivo es que el recorrido circular
se vea entero y no quede cortado por los límites del bloque.
========================================================= */

/* TABLET */
@media (min-width: 768px) and (max-width: 1023px) {
  .international-section {
    overflow: visible;
  }

  .international-content,
  .globe-container,
  .contenedor-laeca {
    overflow: visible;
  }

  .globe-container {
    width: 100%;
    padding: 5rem;
  }

  .contenedor-laeca {
    width: min(100%, 500px);
    max-width: 500px;
  }
}

/* MÓVIL */
@media (max-width: 767px) {
  .international-section {
    overflow: visible;
  }

  .international-content,
  .globe-container,
  .contenedor-laeca {
    overflow: visible;
  }

  .globe-container {
    width: 100%;
    padding: 4rem 3.75rem;
  }

  .contenedor-laeca {
    width: min(100%, 340px);
    max-width: 340px;
  }
}

/* MÓVIL PEQUEÑO */
@media (max-width: 420px) {
  .globe-container {
    padding: 3.5rem 3rem;
  }

  .contenedor-laeca {
    width: min(100%, 300px);
    max-width: 300px;
  }
}


/* =========================================================
AJUSTE EXTRA · MÓVIL
Evita que las líneas orbitales se corten en pantallas angostas.
========================================================= */
@media (max-width: 767px) {
  .globe-container {
    padding: 3rem 2.5rem 4rem;
  }

  .contenedor-laeca {
    width: min(100%, 270px);
    max-width: 270px;
  }

  .orbital-ring-1 {
    width: 112%;
    height: 112%;
  }

  .orbital-ring-2 {
    width: 124%;
    height: 124%;
  }
}

@media (max-width: 420px) {
  .globe-container {
    padding: 2.75rem 2rem 3.5rem;
  }

  .contenedor-laeca {
    width: min(100%, 248px);
    max-width: 248px;
  }

  .orbital-ring-1 {
    width: 110%;
    height: 110%;
  }

  .orbital-ring-2 {
    width: 120%;
    height: 120%;
  }
}
