/*
  Paleta de Colores (tomados de tu referencia):
  --color-azul-oscuro:  #1F3563
  --color-azul-verdoso: #196A86
  --color-turquesa:     #34AD96
  --color-verde:        #53B262

  Tipografía: Acumin Variable Concept (fallback: sans-serif)
*/

/* =========================================================
   VARIABLES + RESET GLOBAL
   ========================================================= */
:root {
  --color-azul-oscuro: #1F3563;
  --color-azul-verdoso: #196A86;
  --color-turquesa: #34AD96;
  --color-verde: #53B262;

  --font-family-primary: 'Acumin Variable Concept', sans-serif;
}

/* Reinicio básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  margin: 0;
  padding: 0;
  font-family: 'Acumin Variable Concept', sans-serif;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Imágenes responsivas usadas en varias secciones */
.hero-video,
.footer-bg-image img,
.big-card img,
.regular-card img,
.stats-right img,
.blog-image img,
.equipo-card img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   SECCIÓN TARJETAS (arco + cartas)
   ========================================================= */
.cards-section {
  padding: 40px 0;
  background: linear-gradient(to right, #000814, #001d3d);
}

.cards-container {
  max-width: 100%;
  position: relative;
}

.arc-container {
  position: relative;
  width: 100vw;
  height: 500px;
  margin: 0 auto 80px;
  overflow: visible;
}

.arc-svg {
  width: 100vw;
  height: auto;
  display: block;
}

.arc-path {
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.top-cards .card {
  position: absolute;
  cursor: pointer;
  transition: transform 0.3s;
  border-radius: 8px;
}

.top-cards .card:hover {
  transform: scale(1.1);
}

.top-cards .card img {
  display: block;
  margin: 0;
  width: 96px;
  height: 96px;
}

.top-cards .card p {
  text-align: center;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
}

.bottom-cards {
  display: flex;
  justify-content: space-around;
}

.bottom-card {
  width: 250px;
  height: 300px;
  perspective: 800px;
}

.bottom-card .front,
.bottom-card .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.bottom-card .front img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bottom-card .back {
  background: #fff;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  line-height: 1.3rem;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: #333;
}

.bottom-card.flipped .front {
  transform: rotateY(180deg);
}

.bottom-card.flipped .back {
  transform: rotateY(0deg);
}

.back li p {
  font-style: normal;
  font-size: 15px;
  user-select: none;
}

@media screen and (max-width:768px) {
  .back li p {
    font-style: normal;
    font-size: 12px;
  }
}

/* =========================================================
   NAVBAR FIJO / HEADER
   ========================================================= */
.main-header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
}

.logo img {
  height: 45px;
}

/* Menú normal (desktop) */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar ul li {
  display: flex;
  align-items: center;
}

.navbar ul li a {
  text-decoration: none;
  color: #696969;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.navbar ul li a:hover {
  color: #1F3563;
}

/* Estilos del dropdown de países */
.dropdown-item {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-show {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #696969;
  font-size: inherit;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  height: 100%;
}

.dropdown-show span {
  color: #696969;
}

.dropdown-show:hover {
  background-color: rgba(31, 53, 99, 0.1);
  color: #1F3563;
}

.dropdown-show:hover span {
  color: #1F3563;
}

.country-flag {
  width: 28px;
  height: 28px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 1000;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dropdown-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #696969;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu-item:hover {
  background-color: rgba(31, 53, 99, 0.05);
  color: #1F3563;
}

.dropdown-menu-item.active {
  background-color: rgba(52, 173, 150, 0.1);
  color: #34AD96;
}


/* Control de visibilidad desktop/mobile */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: flex;
}

/* Estilos para enlaces de países en móvil */
.country-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}



/* Botón hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #696969;
  transition: background-color 0.3s ease;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .navbar {
    margin-left: auto;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .navbar-container .navbar ul {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 1000;

    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;

    transition:
      max-height 280ms ease,
      opacity 220ms ease,
      transform 220ms ease,
      visibility 0s linear 280ms;

    display: block;
  }

  .navbar ul.show {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition:
      max-height 320ms ease,
      opacity 240ms ease,
      transform 240ms ease,
      visibility 0s;
  }

  .navbar ul li {
    margin: 0;
  }

  .navbar ul li a {
    display: block;
    padding: 14px 20px;
    text-align: left;
  }

  /* Mostrar opciones móviles, ocultar dropdown desktop */
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Dropdown en móvil - ya no se usa */
  .dropdown-show {
    display: none;
    /* Ocultar el botón dropdown en móvil */
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(242, 242, 242, 0.5);
    margin: 0;
    max-height: 200px;
    /* Siempre visible en móvil */
    overflow: visible;
    padding: 8px 0;
  }

  .dropdown-menu.show {
    max-height: 200px;
    padding: 8px 0;
  }

  .dropdown-menu ul {
    padding: 0;
  }

  .dropdown-menu-item {
    padding: 12px 20px 12px 40px;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {

  .navbar-container .navbar ul,
  .navbar ul.show {
    transition: none !important;
  }
}

/* =========================================================
   SECCIÓN HERO (portada)
   ========================================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-video {
  content: url("images/mainpage.jpg");
  display: block;
  width: 100%;
  height: 100vh;
}

@media (max-width: 600px) {
  .hero-video {
    content: url("images/mainpage_small.jpg");
    height: 100vh;
  }
}

.hero-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-content {
  position: absolute;
  bottom: 12%;
  left: 3%;
  z-index: 3;
}

.text-box {
  background: rgba(28, 36, 55, 0.7);
  border-radius: 15px;
  padding: 20px 30px;
  max-width: 420px;
  color: #ffffff;
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.highlight-color {
  color: #48b8dd;
}

.hero-content p {
  line-height: 1.4;
  font-size: 1.1rem;
}

.new-line {
  display: block;
}

@media (max-width: 600px) {
  .hero-content {
    left: 50%;
    transform: translateX(-50%);
    bottom: 8%;
  }

  .text-box {
    width: min(420px, calc(100vw - 48px));
  }
}

/* =========================================================
   (Repetición) Colores / Reset #2
   ========================================================= */
:root {
  --color-azul-oscuro: #1F3563;
  --color-azul-verdoso: #196A86;
  --color-turquesa: #34AD96;
  --color-verde: #53B262;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================================================
   SECCIÓN TARJETAS – versión extendida (otra página)
   ========================================================= */
.cards-section {
  width: 100vw;
  background: linear-gradient(to right, #000 0%, #344c85 100%);
  padding: 60px 0 0.1px;
  color: #fff;
}

.cards-container {
  max-width: 100vw;
  padding: 0 20px;
}

.arc-container {
  position: relative;
  width: 100vw;
  height: 500px;
  margin: 0 auto 80px;
}

.arc-svg {
  position: absolute;
  top: 145px;
  left: 0;
  width: 95vw;
  height: 400px;
  overflow: visible;
  transform: translateX(-10%);
  z-index: 0;
}

.arc-path {
  stroke: #ffffff;
  stroke-width: 5;
  fill: none;
}

.indicator {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00ffc6;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  pointer-events: none;
  transition: transform .3s ease;
  z-index: 1;
}

.cards-header {
  margin: 0 auto;
  text-align: center;
}

.cards-header .cards-title {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.5rem);
  white-space: nowrap;
  margin: 0;
}

.cards-header .cards-title .highlight {
  color: #00ffc6;
}

@media (max-width:1080px) {
  .cards-header .cards-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    font-size: 1.8rem;
    line-height: 1.2;
    padding: 0 16px;
    margin-bottom: 20px;
  }
}

.top-cards {
  position: relative;
  height: 0;
  transform: translateX(-12.6%);
}

.top-cards .card {
  position: absolute;
  width: 130px;
  height: 135px;
  background: #fff;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform .2s;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

.top-cards .card:nth-child(1) {
  left: 5%;
  top: 20px;
}

.top-cards .card:nth-child(2) {
  left: 25%;
  top: 0px;
}

.top-cards .card:nth-child(3) {
  left: 47%;
  top: -20px;
}

.top-cards .card:nth-child(4) {
  left: 69%;
  top: 0px;
}

.top-cards .card:nth-child(5) {
  left: 89%;
  top: 20px;
}

.top-cards .card img {
  max-width: 96px;
  max-height: 96px;
}

.top-cards .card p {
  color: #222;
}

.top-cards .card:hover {
  transform: scale(1.07);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
}

.middle-card {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: -250px;
  margin-bottom: 60px;
  z-index: 2;
}

.card-clientes {
  width: 160px;
  height: 160px;
  background: #0d6c85;
  border-radius: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.card-clientes:hover {
  transform: scale(1.07);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
}

.card-clientes img {
  max-width: 110px;
  max-height: 110px;
  margin-bottom: 8px;
}

.card-clientes p {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.bottom-cards {
  display: flex;
  gap: 100px;
  justify-content: center;
  align-items: flex-start;
}

.bottom-cards .bottom-card:nth-child(1),
.bottom-cards .bottom-card:nth-child(3) {
  margin-top: -100px;
}

.bottom-card {
  width: 250px;
  height: 300px;
  perspective: 600px;
  position: relative;
  cursor: pointer;
}

.bottom-card>.front,
.bottom-card>.back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform .6s;
}

.bottom-card>.front {
  background: #fff;
  transform: rotateY(0deg);
}

::marker {
  color: #0d6c85;
  font-size: 23px;
}

.bottom-card>.front img {
  max-width: 80%;
  max-height: 80%;
}

.bottom-card>.back {
  background: #fff;
  color: #000;
  transform: rotateY(180deg);
  padding: 12px;
}

.bottom-card>.back img {
  max-width: 80%;
  max-height: 80%;
}

.bottom-card>.back .flip-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.bottom-card.flipped>.front {
  transform: rotateY(-180deg);
}

.bottom-card.flipped>.back {
  transform: rotateY(0deg);
}

.card-icon {
  position: absolute;
  top: 0;
  right: 8px;
  width: 54px !important;
  height: 54px !important;
  z-index: 2;
  pointer-events: none;
}

/* Responsive (tarjetas) */
@media (max-width:1080px) {
  .cards-section {
    padding: 100px 0;
  }

  .arc-container {
    height: 450px;
  }

  .arc-svg {
    top: 80px;
  }

  .top-cards .card {
    width: 130px;
    height: 135px;
  }

  .indicator {
    width: 36px;
    height: 36px;
  }

  .bottom-cards {
    gap: 24px;
    align-items: flex-start;
  }

  .bottom-card {
    width: 230px;
    height: 230px;
    margin-top: -40px;
  }

  .middle-card {
    margin-top: -150px;
    margin-bottom: 20px;
  }

  .card-clientes {
    width: 140px;
    height: 140px;
    padding: 16px;
  }

  .card-clientes img {
    max-width: 60px;
    max-height: 60px;
  }
}

@media (max-width:768px) {
  .cards-section {
    padding: 30px 0;
  }

  .cards-container {
    padding: 0 10px;
  }

  .arc-container {
    height: 450px;
  }

  .arc-svg {
    top: 60px;
  }

  .top-cards .card {
    width: 100px;
    height: 120px;
    padding: 12px;
  }

  .top-cards .card img {
    max-width: 60px;
    max-height: 60px;
    margin-bottom: 6px;
  }

  .top-cards .card:nth-child(1) {
    left: 6%;
    top: 20px;
  }

  .top-cards .card:nth-child(2) {
    left: 26%;
    top: 0px;
  }

  .top-cards .card:nth-child(3) {
    left: 46%;
    top: -20px;
  }

  .top-cards .card:nth-child(4) {
    left: 66%;
    top: 0px;
  }

  .top-cards .card:nth-child(5) {
    left: 86%;
    top: 20px;
  }

  .bottom-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .bottom-card {
    width: 200px;
    height: 325px;
    margin-top: 0;
    position: relative;
  }
}

@media (max-width:1080px) {
  .arc-container {
    width: 100%;
  }

  .top-cards .card {
    width: 90px;
    height: 110px;
    padding: 10px;
  }

  .top-cards .card img {
    max-width: 50px;
    max-height: 50px;
    margin-bottom: 4px;
  }

  .top-cards .card:nth-child(1) {
    left: 5%;
    top: 18px;
  }

  .top-cards .card:nth-child(2) {
    left: 28%;
    top: 0px;
  }

  .top-cards .card:nth-child(3) {
    left: 50%;
    top: -18px;
  }

  .top-cards .card:nth-child(4) {
    left: 72%;
    top: 0px;
  }

  .top-cards .card:nth-child(5) {
    left: 95%;
    top: 18px;
  }

  .bottom-cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 75px;
  }

  .bottom-cards .bottom-card:nth-child(1),
  .bottom-cards .bottom-card:nth-child(2),
  .bottom-cards .bottom-card:nth-child(3) {
    margin-top: 0 !important;
  }

  .bottom-cards .bottom-card {
    margin-top: 0 !important;
  }

  /* índice circulito (antiguo) */
  .top-cards .card {
    position: relative;
  }

  .top-cards .card::before {
    content: attr(data-index);
    position: absolute;
    top: 50%;
    left: -16px;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-turquesa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
  }

  .top-cards .card:nth-child(even)::before {
    left: auto;
    right: -16px;
    transform: translate(50%, -50%);
  }
}

/* =========================================================
   SECCIÓN ESTADÍSTICAS (otra)
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.stats-section {
  width: 100%;
  background: linear-gradient(to right, #000000 0%, #344c85 100%);
  padding: 60px 0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}

.stat-item img {
  width: 120px;
  height: auto;
  margin: 0;
}

.stat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: #6fc3ea;
  line-height: 1;
}

.stat-label {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-top: 4px;
}

.stat-sub {
  font-size: 2rem;
  font-weight: 400;
  color: #ccc;
  display: block;
  margin-top: 2px;
}

@media (max-width:768px) {
  .force-break {
    display: block;
  }
}

/* =========================================================
   PRESENCIA ORIONT + MAPA
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.presence-section {
  width: 100%;
  background: linear-gradient(to right, #000 0%, #344c85 100%);
  color: #fff;
}

/* Header */
.presence-header {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.presence-header .line {
  flex: 1;
  height: 6px;
  background: #fff;
}

.presence-title {
  margin: 0 60px;
  font-size: 3rem;
  color: #48b8dd;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  text-align: center;
}

@media (max-width:576px) {
  .presence-header .line {
    display: none;
  }

  .presence-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    white-space: normal;
  }
}

/* Contenido */
.presence-content {
  grid-template-columns: 2fr 1fr;
  column-gap: 2rem;
  row-gap: 1rem;
}

.map-container {
  flex: 0 0 auto;
  width: 600px;
  height: 600px;
  margin: auto;
  padding: 0 75px;
  border: none;
  overflow: hidden;
  position: relative;
}

.map-container svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width:500px) {
  .presence-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .map-container {
    margin-bottom: -35px;
  }
}

/* SVG estilos */
#mapaSA path {
  fill: #a5a9ac !important;
  stroke: #fff !important;
  stroke-width: 10px !important;
  transition: fill .3s, transform .3s, filter .3s;
}

#mapaSA g#Chile path,
#mapaSA g#Colombia path,
#mapaSA g#Peru path,
#mapaSA g#Panama path {
  fill: #56585b !important;
}

#mapaSA g#Chile.active path,
#mapaSA g#Colombia.active path,
#mapaSA g#Peru.active path,
#mapaSA g#Panama.active path {
  fill: #0d6c85 !important;
}

#mapaSA #mapGroup>g {
  transition: transform .8s ease, filter .3s ease;
  transform-origin: center center;
  transform: scale(1);
}

#mapaSA g#Chile.active,
#mapaSA g#Colombia.active,
#mapaSA g#Peru.active,
#mapaSA g#Panama.active {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5));
}

/* Lista de países (píldoras) */
.presence-content {
  display: grid;
  row-gap: .75rem;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

.lista-paises {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 0;
  width: 42vw;
  padding: 0;
  list-style: none;
}

.lista-paises li {
  position: relative;
  overflow: hidden;
  border-radius: 18px 0 0 18px;
  transition: transform .3s ease, box-shadow .3s ease;
  transform-origin: center center;
}

/* FIX: igualamos radios y cubrimos los bordes para que no se vea el halo blanco */
.lista-paises li::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  /* -1px evita halos por antialiasing */
  width: 64px;
  background: #0d6c85;
  z-index: 3;
  pointer-events: none;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

.lista-paises li button {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 80px 16px 80px;
  background: #f2f2f2;
  color: #222;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
  transition: box-shadow .3s ease;
  cursor: pointer;
  height: 75px;
}

.lista-paises li button .flag {
  position: absolute;
  top: 50%;
  right: 64px;
  transform: translateY(-50%);
  width: 68px;
  height: auto;
  pointer-events: none;
}

.lista-paises li:hover {
  transform: translateX(40px) scale(1.00);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lista-paises li p {
  font-size: 30px;
  font-weight: bold;
  margin-left: 40px;
}

@media screen and (max-width:600px) {
  .lista-paises {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: .75rem;
    order: -1;
  }

  .lista-paises li {
    flex: 0 1 calc((100% - 3 * .75rem) / 4);
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
  }

  .lista-paises li button {
    width: 100%;
    height: 100%;
    padding: .5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .lista-paises li::before {
    display: none;
  }

  .lista-paises li p {
    margin: 0;
    font-size: 1rem;
  }

  .lista-paises li button .flag {
    position: static;
    transform: none;
    width: 50%;
    margin-top: .25rem;
  }

  .lista-paises li:hover {
    transform: translateY(-20px) scale(1.00);
  }
}

/* Stats dentro de presencia */
.presence-stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.stat-icon {
  width: 48px;
  height: auto;
}

.stat-number {
  font-size: 2rem;
  color: #6fc3ea;
  font-weight: 700;
}

.stat-label {
  font-size: 1rem;
}

.stat-sub {
  font-size: .85rem;
  color: #ccc;
}

@media (max-width:768px) {
  .presence-content {
    grid-template-columns: none;
    align-items: center;
  }

  .lista-paises {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    margin-bottom: 35px;
  }
}

@media screen and (max-width:500px) {
  .lista-paises {
    margin: auto;
  }
}

@media (max-width:576px) {
  .stat-icon {
    width: 32px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: .9rem;
  }

  .lista-paises li p {
    font-size: .9rem;
  }
}

/* =========================================================
   “CONFIAN EN NOSOTROS” (logos)
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.clients-section {
  width: 100%;
  background: linear-gradient(to right, #000 0%, #344c85 100%);
}

.clients-container {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clients-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

@media (max-width:768px) {
  .clients-header {
    margin-top: 20px;
    margin-bottom: 10px;
  }
}

.clients-header .line {
  flex: 1;
  height: 6px;
  background: #fff;
}

.clients-title {
  margin: 0 60px;
  font-size: 3rem;
  color: #48b8dd;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  text-align: center;
}

@media (max-width:576px) {
  .clients-header .line {
    display: none;
  }

  .clients-title {
    font-size: 1.8rem;
    margin: 0 16px;
    white-space: normal;
  }
}

.clients-logos-wrapper {
  width: 100vw;
  margin-left: calc((100% - 100vw) / 2);
  margin-right: calc((100% - 100vw) / 2);
  padding: 0 40px;
}

.clients-grid {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
  gap: 50px;
  justify-content: center;
}

.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-logo img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

/* Banco de Bogotá más grande */
.client-logo img[alt="Banco de Bogotá"] {
  max-height: 150px;
  transform: scale(1.3);
}

@media (max-width:992px) {
  .clients-logos-wrapper {
    padding: 0 30px;
  }

  .clients-grid {
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(130px, 130px));
  }
}

@media (max-width:768px) {
  .clients-logos-wrapper {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 20px;
  }

  .clients-grid {
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(100px, 100px));
  }

  .client-logo img {
    max-height: 100px;
  }
}

@media (max-width:576px) {
  .clients-container {
    padding: 20px 16px;
  }

  .clients-logos-wrapper {
    padding: 0 10px;
  }

  .clients-grid {
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(80px, 80px));
  }

  .client-logo img {
    max-height: 80px;
  }
}

/* =========================================================
   CTA Imagen Izquierda / Texto Derecha
   ========================================================= */
html,
body {
  margin: 0;
  padding: 0;
}

/* Desktop: vuelve a tu degradé original (azul -> negro) */
.cta-section {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 550px;
  background: linear-gradient(to right, #344c85, #000000);
}

.cta-image {
  flex: 0 0 50%;
  position: relative;
}

.cta-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-content {
  flex: 0 0 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.cta-content h2 {
  margin: 0 0 16px;
  font-size: 3rem;
  line-height: 1.2;
}

.cta-content .highlight {
  color: #48b8dd;
}

.cta-content p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

@media (max-width:768px) {
  .cta-section {
    flex-direction: column;
    min-height: auto;
    background: linear-gradient(to right, #000000 0%, #344c85 100%) !important;
  }

  .cta-image,
  .cta-content {
    flex: 0 0 auto;
    width: 100%;
  }

  .cta-image img {
    position: static;
    height: auto;
  }

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

  .cta-content h2 {
    font-size: 2.2rem;
  }

  .cta-content p {
    font-size: .9rem;
  }
}

/* ====== << AQUI EL ÚNICO CAMBIO SOLICITADO >> ======
   En móvil, reordenamos: H2 arriba, IMAGEN al medio, P abajo.
   No se toca nada más del sitio. */
@media (max-width:768px) {
  .cta-content {
    display: contents;
  }

  .cta-content h2 {
    order: 0;
    text-align: center;
    padding: 16px 12px 8px;
  }

  .cta-image {
    order: 1;
  }

  .cta-content p {
    order: 2;
    text-align: center;
    padding: 12px 12px 20px;
  }

  .cta-image img {
    position: static !important;
    width: 100%;
    height: auto;
    display: block;
  }
}

/* =========================================================
   EQUI PO / CARRUSEL
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.teams-carousel {
  width: 100%;
  background: linear-gradient(to right, #000000 0%, #344c85 100%);
  padding: 40px 0;
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-header .line {
  flex: 1;
  height: 6px;
  background: #fff;
}

.carousel-title {
  margin: 0 60px;
  font-size: 3rem;
  color: #48b8dd;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  text-align: center;
}

@media (max-width:576px) {
  .carousel-header .line {
    display: none;
  }
}

.carousel-track {
  display: flex;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 auto;
}

.carousel-item img {
  display: block;
  height: 300px;
  object-fit: cover;
  user-select: none;
}

/* =========================================================
   CONTACTO / FOOTER
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.footer-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #000 0%, #344c85 100%);
  padding: 60px 5% 40px;
  color: #fff;
}

@media (max-width:768px) {
  .footer-section {
    padding-top: 20px;
  }
}

.footer-header {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-header .line {
  flex: 1;
  height: 6px;
  background: #fff;
}

.footer-title {
  margin: 0 60px;
  font-size: 3rem;
  color: #48b8dd;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  text-align: center;
}

@media (max-width:576px) {
  .footer-header .line {
    display: none;
  }
}

.footer-bg-image {
  position: absolute;
  top: 50px;
  left: 200px;
  z-index: 0;
  pointer-events: none;
}

.footer-bg-image img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  opacity: .1;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 20px;
}

.contact-info,
.contact-form {
  background: #fff;
  color: #333;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contact-info {
  flex: 1 1 600px;
  max-width: 545px;
  padding: 30px 25px;
  max-height: 300px;
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.contact-form {
  flex: 0 1 300px;
  max-width: 350px;
  padding: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

/* Imagen del teléfono más pequeña para que visualmente coincida con los otros iconos */
.contact-item img[src*="telefono-oriontC"] {
  width: 50px !important;
  height: 50px !important;
  padding: 18px;
  box-sizing: content-box;
}

.contact-text {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.contact-text strong {
  line-height: 1.2;
}

.contact-text span {
  flex: 1;
  color: #333;
  line-height: 1.4;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: .95rem;
}

/* Botón "Contactar" con el color del título "Contáctanos" */
.contact-form button {
  background: #48b8dd;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter .25s ease, transform .2s ease;
  z-index: 1;
}

.contact-form button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.footer-legal {
  text-align: center;
  font-size: .85rem;
  color: #fff;
  margin-top: 20px;
}

.footer-bar {
  width: 100%;
  background-color: #000;
  padding: 30px 0;
}

.footer-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bar__left {
  color: #fff;
  font-size: .875rem;
  white-space: nowrap;
}

.footer-bar__center img {
  height: 70px;
  width: auto;
}

.footer-bar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-text {
  color: #fff;
  font-size: .875rem;
}

.linkedin-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  cursor: pointer;
  transition: opacity .2s ease;
}

.linkedin-icon:hover svg {
  opacity: .7;
}

@media (max-width:600px) {
  .footer-bar__inner {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bar__left,
  .social-text,
  .linkedin-icon {
    text-align: center;
    white-space: normal;
  }

  h2 {
    font-size: 1.5rem !important;
  }
}

/* =========================================================
   Ajustes extra de tarjetas (múltiples media queries)
   ========================================================= */
@media screen and (max-width:1080px) {

  .arc-svg,
  #indicatorGroup {
    display: none;
  }

  .arc-container {
    position: static;
    overflow: visible;
  }

  .top-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: static;
    padding: 0 1rem;
    transform: none;
  }

  .top-cards .card {
    position: static;
    width: 35%;
    max-width: 250px;
    margin: 0;
    transform: none;
  }

  .top-cards .card:nth-child(odd) {
    margin-left: auto;
    margin-right: 15vw;
  }

  .top-cards .card:nth-child(even) {
    margin-right: auto;
    margin-left: 15vw;
  }

  .middle-card {
    position: static !important;
    margin: 4rem auto 2rem;
    display: flex;
    justify-content: center;
  }

  .card-clientes {
    width: 80%;
    max-width: 300px;
    aspect-ratio: 1/1;
    border-radius: 40px;
    margin-top: 80px;
  }
}

@media screen and (max-width:276px) {
  .card-clientes {
    margin-top: 40px;
  }
}

@media screen and (max-width:1080px) {
  .top-cards .card {
    position: relative;
    left: 0 !important;
  }

  .top-cards .card::before {
    content: attr(data-index);
    position: absolute;
    top: 50%;
    left: -16px;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-turquesa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
  }

  .top-cards .card:nth-child(even)::before {
    left: auto;
    right: -16px;
    transform: translate(50%, -50%);
  }
}

/* =========================================================
   OVERRIDES (responsive)
   ========================================================= */

/* “Clientes” más angosto en móvil (primera pasada) */
@media (max-width: 768px) {
  .cards-section .middle-card .card-clientes {
    width: clamp(160px, 55vw, 220px) !important;
    max-width: none !important;
    aspect-ratio: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Grilla de cartas inferiores en móvil */
@media (max-width: 768px) {
  .cards-section .bottom-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 325px;
    justify-content: center;
    align-items: start;
    gap: 16px !important;
    padding-inline: 12px;
    margin-top: 0 !important;
  }

  .cards-section .bottom-cards .bottom-card {
    width: 100% !important;
    max-width: 200px;
    height: 325px !important;
    margin: 0 !important;
    position: relative !important;
    justify-self: center;
  }

  .cards-section .bottom-cards .bottom-card:nth-child(1) {
    order: 1;
  }

  .cards-section .bottom-cards .bottom-card:nth-child(3) {
    order: 2;
  }

  .cards-section .bottom-cards .bottom-card:nth-child(2) {
    order: 3;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .cards-section .bottom-cards .back ul {
    padding-left: 18px;
    list-style-position: outside;
    margin: 0;
  }

  .cards-section .bottom-cards .back li p {
    display: inline;
    margin: 0;
  }

  .cards-section .bottom-cards .back li::marker {
    font-size: 14px !important;
    color: #0d6c85;
  }

  .cards-section .bottom-cards .bottom-card>.front,
  .cards-section .bottom-cards .bottom-card>.back {
    border-radius: 28px;
  }
}

/* Título más pequeño + margen bajo el título en móvil */
@media (max-width: 768px) {
  .cards-title {
    font-size: 1.3rem !important;
    line-height: 1.25;
    padding: 0 12px;
    margin: 0 0 36px !important;
    display: block;
  }

  .arc-container {
    margin-top: 14px !important;
  }

  .top-cards {
    margin-top: 72px !important;
  }
}

@media (max-width: 480px) {
  .cards-title {
    font-size: 1.1rem !important;
    line-height: 1.25;
    margin-bottom: 42px !important;
  }

  .top-cards {
    margin-top: 80px !important;
  }
}

/* Top-cards en grid 2x2 + 5ª centrada */
@media (max-width: 768px) {
  .top-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    position: static !important;
    height: auto !important;
    transform: none !important;
    padding-inline: 16px !important;
    margin-bottom: 20px !important;
  }

  .top-cards .card {
    position: relative !important;
    width: 100% !important;
    max-width: 190px !important;
    height: 120px !important;
    padding: 12px 12px 12px 14px !important;
    margin: 0 !important;
    justify-self: center !important;
    border-radius: 18px !important;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
  }

  .top-cards .card img {
    width: 64px !important;
    height: 64px !important;
  }

  .top-cards .card p {
    font-size: 11px !important;
  }

  .top-cards .card:nth-child(5) {
    grid-column: 1 / -1 !important;
    justify-self: center !important;
    max-width: 200px !important;
  }
}

/* =========================================================
   Círculo numerado interno (visible al presionar)
   ========================================================= */
@media (max-width:1080px) {
  .top-cards .card::before {
    display: none !important;
  }

  .top-cards .card::after {
    content: attr(data-index);
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-turquesa);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
    opacity: 0;
    transform: scale(.85);
    transition: opacity 1.2s ease, transform .18s ease;
    pointer-events: none;
    z-index: 3;
  }

  .top-cards .card:active::after,
  .top-cards .card:has(:active)::after {
    opacity: 1;
    transform: scale(1);
    transition: none;
  }
}

/* =========================================================
   CAMBIOS SOLICITADOS (mapa + spacing)
   ========================================================= */
@media screen and (max-width:600px) {
  .lista-paises li button .flag {
    width: 72% !important;
    max-width: 110px;
  }
}

@media (max-width: 768px) {
  .presence-section .map-container {
    width: min(660px, 96vw);
    height: auto;
    padding: 0 12px;
    margin-bottom: 36px !important;
  }

  .presence-section .presence-stats {
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .presence-section .map-container {
    width: min(620px, 95vw);
    padding: 0 10px;
    margin-bottom: 38px !important;
  }
}

@media (max-width: 480px) {
  .presence-section .map-container {
    width: min(560px, 94vw);
    padding: 0 8px;
    margin-bottom: 40px !important;
  }
}

@media (max-width:600px) {
  #mapaSA path {
    stroke-width: 5px !important;
  }
}

@media (max-width: 768px) {
  .cards-section .arc-container {
    height: auto !important;
    margin: 0 auto 12px !important;
  }

  .cards-section .middle-card {
    margin: 8px auto 12px !important;
  }

  .cards-section .card-clientes {
    margin-top: 0 !important;
  }
}

/* =========================================================
   OVERRIDE FINAL: Punto calipso SIEMPRE visible en responsive
   ========================================================= */
@media (max-width:1080px) {
  .cards-section .top-cards .card::before {
    content: none !important;
    display: none !important;
  }

  .cards-section .top-cards .card {
    position: relative;
  }

  .cards-section .top-cards .card::after {
    content: attr(data-index);
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-turquesa);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
    pointer-events: none;
    z-index: 3;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   OVERRIDE FINAL #2: SOLO CONTENIDO más grande (icono + texto)
   SIN cambiar el tamaño del CUADRO en responsive
   ========================================================= */
@media (max-width: 768px) {
  .top-cards .card {
    padding: 8px 12px 8px 12px !important;
  }

  .top-cards .card img {
    width: 76px !important;
    height: 76px !important;
    object-fit: contain !important;
    margin-bottom: 4px !important;
  }

  .top-cards .card p {
    font-size: 13px !important;
    line-height: 1.15 !important;
    margin-top: 4px !important;
    color: #0e6f6a !important;
  }
}

/* =========================================================
   NUEVO (AJUSTE 2): “Clientes” más compacto en responsive
   ========================================================= */
@media (max-width:768px) {
  .top-cards {
    margin-bottom: 4px !important;
  }

  .cards-section .middle-card {
    position: static !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 20px !important;
    z-index: 1;
  }

  .cards-section .card-clientes {
    width: clamp(140px, 48vw, 190px) !important;
    height: 92px !important;
    padding: 12px 16px !important;
    border-radius: 22px !important;
    margin: 0 auto !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .cards-section .card-clientes img {
    max-width: 36px !important;
    max-height: 36px !important;
    margin-bottom: 6px !important;
  }

  .cards-section .card-clientes p {
    font-size: 1.05rem !important;
    margin: 6px 0 0 !important;
  }
}

/* =========================================================
   NUEVO (AJUSTE BANDERAS)
   ========================================================= */
@media (max-width:600px) {
  .lista-paises li button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: .6rem .5rem;
  }

  .lista-paises li button .flag {
    width: 74% !important;
    max-width: 120px;
    margin-bottom: 6px;
  }

  .lista-paises li p {
    font-size: 1.12rem !important;
    line-height: 1.15;
  }
}

/* =========================================================
   NUEVO (AJUSTE ESPECÍFICO): texto "Colombia" un poco más chico
   ========================================================= */
@media (max-width:768px) {
  .lista-paises li button[data-country="Colombia"] p {
    font-size: 1rem !important;
  }
}

/* =========================================================
   NUEVO: BAJAR EL TÍTULO “Conectamos al Sponsor…”
   ========================================================= */
@media (max-width:768px) {
  .cards-section {
    padding-top: 56px !important;
  }

  .cards-section .cards-header {
    position: relative !important;
    top: 1px !important;
    margin-top: 10px !important;
    padding-top: 6px !important;
  }
}

/* =========================================================
   ORDEN “Clientes” arriba de top-cards (solo responsive)
   ========================================================= */
@media (max-width:768px) {
  .cards-section .cards-container {
    display: flex !important;
    flex-direction: column !important;
  }

  .cards-section .middle-card {
    order: 1;
  }

  .cards-section .arc-container {
    order: 2;
  }

  .cards-section .bottom-cards {
    order: 3;
  }
}

/* =========================================================
   FINAL MOBILE SPACING FIX (EVITA SUPERPOSICIÓN)
   ========================================================= */
@media (max-width:768px) {
  .cards-section .middle-card {
    position: static !important;
    z-index: auto !important;
    margin: 12px auto 28px !important;
  }

  .cards-section .arc-container {
    margin-top: 16px !important;
  }

  .top-cards {
    margin-top: 0 !important;
    z-index: auto !important;
  }

  .top-cards .card {
    z-index: auto !important;
  }
}

/* =========================================================
   >>> OVERRIDE FINAL ÚNICO: ANCHO DEL CUADRO “CLIENTES”
   - Desktop (>=1081px): igual a bottom-card (250px)
   - Tablet (769–1080px): igual a bottom-card (230px)
   - Móvil (<=768px): EXACTO al ancho de dos cartas blancas + gap (2×200px + 16px)
   ========================================================= */
.cards-section .middle-card .card-clientes {
  width: 250px !important;
}

@media (max-width:1080px) and (min-width:769px) {
  .cards-section .middle-card .card-clientes {
    width: 230px !important;
  }
}

@media (max-width:768px) {
  .cards-section .middle-card .card-clientes {
    width: min(416px, calc(100% - 24px)) !important;
  }
}