.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.qs-scope {
  --qs-teal-900: #075056;
  --qs-teal-600: #0b9c9c;
  --qs-text: #0c1b1f;
  color: var(--qs-text);
  overflow-x: clip;
  position: relative;
}

.qs-scope .row.align-items-center {
  align-items: center !important;
  min-height: 80vh;
}

.qs-scope .col-12.col-lg-6:first-child,
.qs-scope .col-12.col-lg-5:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.qs-scope .qs-heading-img {
  display: block;
  line-height: 0;
  text-align: left;
}

.qs-scope .qs-heading-img-el {
  display: block;
  width: clamp(220px, 65vw, 680px);
  height: auto;
  max-width: 100%;
}

.qs-scope .qs-lead {
  max-width: 62ch;
}

.qs-scope .qs-lead-thin {
  font-weight: 300;
}

.qs-scope .qs-btn {
  background: var(--qs-teal-900);
  color: #fff;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s ease;
}


.qs-scope .qs-btn:hover,
.qs-scope .qs-btn:focus {
  background: var(--qs-teal-600);
}

.qs-scope .qs-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(48vw, 700px);
  margin-right: 0;
}

.qs-scope .qs-banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right center;
}

@media (min-width: 992px) {
  .qs-scope .row.align-items-center {
    min-height: 85vh;
    position: relative;
  }

  .qs-scope .col-12.col-lg-6:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .qs-scope .qs-visual {
    margin-right: calc(((100vw - 100%) / -2) + 16rem);
  }
}

@media (max-width: 767.98px) {
  .qs-scope .qs-heading-img {
    text-align: center;
    padding-inline: 1.5rem;
  }

  .qs-scope .qs-heading-img-el {
    width: clamp(180px, 80vw, 420px);
  }

  .qs-scope .col-12.col-lg-6:last-child {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .qs-scope .qs-visual {
    width: 100vw;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }

  .qs-scope .qs-visual picture,
  .qs-scope .qs-visual picture>img.qs-banner {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

.techno-scope {
  background: url('/wp-content/uploads/2025/10/quienesSomos-background.jpg') no-repeat center center / cover;
  position: relative;
  color: #fff;
  overflow: hidden;
  padding-block: 3rem;
}

.techno-title {
  font-size: clamp(1.8rem, 2.6vw, 3.2rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.techno-scope .techno-lead-thin {
  font-weight: 300;
}

.techno-scope p {
  color: #e6f2ef;
}

.techno-card {
  background: #06464d;
  color: #e6f2ef;
  box-shadow: 0 0 25px rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1rem;
}

@media (max-width: 991.98px) {
  .techno-scope {
    text-align: center;
  }

  .techno-card {
    margin-top: 2rem;
  }

  .techno-title {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }
}

.combine-scope {
  background-color: #e9ebec;
  color: #0c1b1f;
  padding-block: 3rem;
}

.combine-title {
  font-size: clamp(1.6rem, 2.4vw, 2.8rem);
  color: #0c1b1f;
  max-width: 80ch;
  margin-inline: auto;
}

.combine-scope .combine-lead-thin {
  font-weight: 300 !important;
}

.combine-title strong {
  color: #000;
  font-weight: 700;
}

.combine-subtitle {
  max-width: 70ch;
  margin-inline: auto;
  line-height: 1.6;
  font-weight: 300 !important;
}

.vm-scope {
  background: url('/wp-content/uploads/2025/10/quienesSomos-background.jpg') no-repeat center center / cover;
  position: relative;
  color: #fff;
  padding-block: 3rem;
  overflow: hidden;
}

.vm-scope::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 0;
}

.vm-scope .container {
  position: relative;
  z-index: 1;
}

.vm-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.vm-tab {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
  transition: color .25s ease, opacity .25s ease;
}

.vm-tab .vm-label {
  pointer-events: none;
}

.vm-arrow {
  --len: 1.6rem;
  --th: 2px;
  --head: .4rem;
  width: var(--len);
  height: 1em;
  position: relative;
  transform: translateY(1px);
  pointer-events: none;
}

.vm-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: var(--head);
  top: 50%;
  height: var(--th);
  background: rgba(255, 255, 255, .6);
  transform: translateY(-50%);
}

.vm-arrow::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: var(--head);
  height: var(--head);
  border-top: var(--th) solid rgba(255, 255, 255, .6);
  border-right: var(--th) solid rgba(255, 255, 255, .6);
  transform: translateY(-50%) rotate(45deg);
}

.vm-tab.is-active {
  color: #fff;
}

.vm-tab.is-active .vm-arrow::after,
.vm-tab.is-active .vm-arrow::before {
  background: #fff;
  border-color: #fff;
}

.vm-tab:hover {
  color: #fff;
}

.vm-tab:hover .vm-arrow::after,
.vm-tab:hover .vm-arrow::before {
  background: #fff;
  border-color: #fff;
}

.vm-tab:focus-visible {
  outline: 2px dashed #97e2af;
  outline-offset: 4px;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.vm-panel {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.vm-panel.is-active {
  opacity: 1;
  visibility: visible;
  height: auto;
  overflow: visible;
}

.vm-panel.animate-left {
  animation: slideInFromLeft 0.6s ease both;
}

.vm-panel.animate-right {
  animation: slideInFromRight 0.6s ease both;
}

@media (prefers-reduced-motion: reduce) {

  .vm-panel.animate-left,
  .vm-panel.animate-right {
    animation: none !important;
  }
}

.vm-title {
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  line-height: 1.3;
  max-width: 70ch;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .vm-scope {
    text-align: center;
  }

  .vm-header {
    justify-content: center;
    gap: 1.25rem;
  }

  .vm-tab {
    letter-spacing: .12em;
  }

  .vm-title {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
  }
}

.tvott-scope {
  --card-w: clamp(220px, 20vw, 300px);
  --label-size: clamp(1.25rem, 2.1vw, 2.2rem);
  position: relative;
  overflow: hidden;
  padding-block: 3rem;
}

.tvott-scope>.d-flex {
  flex-wrap: wrap;
  row-gap: 2rem;
}

.tvott-scope>.d-flex>a,
.tvott-scope>.d-flex>.d-flex {
  flex: 0 0 var(--card-w);
}

@media (min-width: 992px) {
  .tvott-scope>.d-flex {
    justify-content: center;
    column-gap: 2rem;
  }
}

.tvott-scope .tvott-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center;
  will-change: transform;
}

.tvott-scope .tvott-link:hover,
.tvott-scope .tvott-link:focus {
  transform: scale(1.05);
}

.tvott-scope .tvott-card {
  position: relative;
  display: inline-block;
}

.tvott-scope .tvott-img {
  display: block;
  width: var(--card-w);
  height: auto;
  object-fit: cover;
  border-radius: 0.75rem;
  transition: transform 0.4s ease;
}

.tvott-scope .tvott-link:hover .tvott-img {
  transform: scale(1.03);
}

.tvott-scope .tvott-card .tvott-label,
.tvott-scope .tvott-card .tvott-label-connectivity,
.tvott-scope .tvott-card .tvott-label-content,
.tvott-scope .tvott-card .tvott-label-technology {
  position: absolute;
  color: #fff;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 1.7rem;
}

.tvott-scope .tvott-card .tvott-label {
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tvott-scope .tvott-card .tvott-label-connectivity {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tvott-scope .tvott-card .tvott-label-content {
  top: 70%;
  left: 55%;
  transform: translate(-50%, -50%);
}

.tvott-scope .tvott-card .tvott-label-technology {
  top: 70%;
  left: 45%;
  transform: translate(-50%, -50%);
}

.tvott-scope .tvott-link:hover .tvott-label,
.tvott-scope .tvott-link:hover .tvott-label-connectivity,
.tvott-scope .tvott-link:hover .tvott-label-content,
.tvott-scope .tvott-link:hover .tvott-label-technology {
  transform: translate(-50%, -55%);
  opacity: 0.9;
}

.business-mobile-scope {
  --bm-gap: 1.25rem;
  --bm-pad: 1rem;
  padding: 1rem var(--bm-pad) 1.5rem;
  overflow-x: clip;
}

.business-mobile-scope .bm-item {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto var(--bm-gap);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.business-mobile-scope .bm-item:focus-visible {
  outline: 2px dashed #236C72;
  outline-offset: 6px;
  border-radius: 0.75rem;
}

.business-mobile-scope .bm-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0.75rem;
  transition: transform 0.25s ease;
  will-change: transform;
}

@media (hover: hover) {
  .business-mobile-scope .bm-item:hover {
    transform: scale(1.01);
  }
}

@media (min-width: 420px) {
  .business-mobile-scope {
    --bm-pad: 1.25rem;
  }
}

@media (min-width: 576px) {
  .business-mobile-scope {
    --bm-pad: 1.5rem;
  }
}

.presence-extended-scope {
  --presence-green: #075056;
  background: linear-gradient(to bottom, transparent 0 50%, var(--presence-green) 50% 100%);
  position: relative;
  overflow: hidden;
  padding-block: 3rem;
}

.presence-extended-scope .presence-text {
  color: var(--presence-green);
  z-index: 2;
  text-align: center;
}

.presence-extended-scope h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  line-height: 1.2;
}

.presence-extended-scope .presence-countries {
  color: #236C72;
}

.presence-extended-scope .presence-metrics {
  margin-top: 13rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10rem;
  color: #ffffff;
}

.presence-extended-scope .metric {
  color: var(--presence-green);
}

.presence-extended-scope .metric-value {
  color: #ffffff;
  font-weight: 800;
  line-height: 1;
}

.presence-extended-scope .metric-label {
  color: #ffffff;
}

.presence-extended-scope .presence-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 2rem;
}

.presence-extended-scope .presence-image {
  width: 80%;
  max-width: 480px;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.presence-extended-scope .presence-image:hover {
  transform: scale(1.02);
}

@media (min-width: 992px) {
  .presence-extended-scope {
    padding-block: 1.5rem;
  }

  .presence-extended-scope .presence-extended-scope-width {
    width: 100%;
  }

  .presence-extended-scope h2 {
    margin-bottom: .5rem;
  }

  .presence-extended-scope .presence-countries {
    margin-bottom: .75rem;
  }

  .presence-extended-scope .presence-image-wrapper {
    padding-block: .5rem 0;
  }

  .presence-extended-scope .presence-metrics {
    /* margin-top: 11rem; */
    gap: 6rem;
  }
}

@media (min-width: 1400px) {
  .presence-extended-scope .presence-metrics {
    margin-top: 16rem;
  }

  /* .presence-extended-scope .presence-text h2,
  .presence-extended-scope .presence-text p{
    margin-left: 5rem;
  } */
}

@media (min-width: 992px) {
  .presence-extended-scope {
    background: linear-gradient(to bottom, transparent 0 62%, #075056 62% 100%);
  }

  .presence-extended-scope .presence-metrics {
    flex-wrap: nowrap !important;
    gap: 3rem;
  }
}

.presence-mobile-scope {
  --pm-green: #075056;
  --pm-green-600: #0b9c9c;
  --pm-gray: #e9ebec;
}

.presence-mobile-scope .pm-section.pm-top {
  padding: 1.75rem 0 1.5rem;
}

.presence-mobile-scope .pm-title {
  color: var(--pm-green);
  line-height: 1.2;
  font-size: clamp(1.8rem, 6.2vw, 2.2rem);
  margin: 0 0 .75rem 0;
  letter-spacing: .01em;
}

.presence-mobile-scope .pm-countries {
  color: #236C72;
  margin: 0;
  line-height: 1.45;
  max-width: 36rem;
}

.presence-mobile-scope .pm-figure {
  margin: 0;
}

.presence-mobile-scope .pm-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: cover;
  border: 0;
}

.presence-mobile-scope .pm-section.pm-metrics {
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, .05);
}

.presence-mobile-scope .pm-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
  justify-items: center;
}

.presence-mobile-scope .pm-metric {
  text-align: center;
}

.presence-mobile-scope .pm-icon {
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto .35rem auto;
}

.presence-mobile-scope .pm-value {
  font-weight: 800;
  line-height: 1;
  margin-bottom: .25rem;
  color: var(--pm-green);
}

.presence-mobile-scope .pm-label {
  color: var(--pm-green);
  line-height: 1.25;
  margin: 0;
}

@media (min-width: 992px) {
  .presence-mobile-scope {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .presence-mobile-scope .pm-section.pm-top {
    padding: 1.5rem 0 1.25rem;
  }

  .presence-mobile-scope .pm-section.pm-metrics {
    padding: .9rem 0 1.1rem;
  }
}

.infra-scope {
  --infra-teal-900: #075056;
  --infra-teal-600: #236C72;
  color: #0c1b1f;
  padding-block: 3rem;
}

@media (max-width: 992px) {
  .infra-scope {
    background-color: #236C72;
  }

  .infra-scope .infra-heading,
  .infra-scope .infra-sub {
    color: #ffffff !important;
  }
}

.infra-scope .infra-item {
  max-width: 32rem;
}

.infra-scope .infra-ico {
  display: block;
  opacity: .45;
}

.infra-scope .infra-heading {
  color: var(--infra-teal-900);
  line-height: 1.15;
  letter-spacing: .01em;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
}

.infra-scope .infra-sub {
  color: var(--infra-teal-600);
}

@media (max-width: 991.98px) {
  .infra-scope .infra-item {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .infra-scope {
    text-align: center;
  }

  .infra-scope .infra-item {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .infra-scope .infra-ico {
    margin-bottom: 0.6rem;
    opacity: 0.6;
    width: 40px;
    height: 40px;
  }

  .infra-scope .infra-heading {
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }

  .infra-scope .row {
    row-gap: 2rem;
  }
}

.ct-scope {
  --ct-bg: #236C72;
  --ct-text: #ffffff;
  --ct-text-soft: rgba(255, 255, 255, .85);
  background: var(--ct-bg);
  padding-block: 3rem;
}

.ct-scope .ct-item {
  max-width: 48rem;
}

.ct-scope .ct-ico {
  display: block;
  opacity: .9;
}

.ct-scope .ct-heading {
  color: var(--ct-text);
  line-height: 1.15;
  letter-spacing: .01em;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
}

@media (max-width: 992px) {
  .ct-scope {
    background-color: #e1e1e1e1;
  }

  .ct-scope .ct-heading,
  .ct-scope .ct-sub {
    color: #236C72 !important;
  }
}

.ct-scope .ct-sub {
  color: var(--ct-text-soft);
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .ct-scope .row>[class*="col-"] {
    text-align: center;
  }

  .ct-scope .ct-item {
    margin-inline: auto;
  }

  .ct-scope .ct-ico {
    margin-inline: auto;
    color: #236C72 !important;
  }
}

.qs-scope {
  --qs-prose-w: 62ch;
}

.qs-scope .qs-text>p.qs-lead,
.qs-scope .qs-text>.qs-btn {
  max-width: var(--qs-prose-w);
}

@media (min-width: 992px) {

  .qs-scope .qs-text>p.qs-lead,
  .qs-scope .qs-text>.qs-btn {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 991.98px) {
  .qs-scope .qs-text {
    padding-inline: clamp(1rem, 4vw, 2rem);
  }

  .qs-scope .qs-text>p.qs-lead,
  .qs-scope .qs-text>.qs-btn {
    margin-inline: auto;
    text-align: center;
  }

  .qs-scope .qs-btn {
    display: inline-flex;
  }
}

.qs-scope .qs-heading-img.container {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 767.98px) {
  .qs-scope .qs-visual {
    width: 100%;
    max-width: 100dvw;
    margin: 0 auto;
    left: auto;
    transform: none;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .infra-scope .infra-ico {
    filter: brightness(0) invert(1);
    opacity: 0.4;
  }

  .ct-scope .ct-ico {
    filter: brightness(0) saturate(100%) invert(22%) sepia(45%) saturate(1418%) hue-rotate(131deg) brightness(93%) contrast(97%);
  }
}

:root {
  --header-h-mobile: 72px;
  --header-h-desktop: 96px;
}

body.admin-bar {
  --wp-admin-bar: 32px;
}

@media (max-width: 782px) {
  body.admin-bar {
    --wp-admin-bar: 46px;
  }
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-h-mobile) + var(--wp-admin-bar, 0px));
}

@media (min-width: 992px) {
  [id] {
    scroll-margin-top: calc(var(--header-h-desktop) + var(--wp-admin-bar, 0px));
  }
}

.anchor-target {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
}

:root { --header-offset: 80px; } /* replicar con tu valor real */

/* Las anclas no ocupan espacio ni empujan contenido */
.anchor-target {
  position: relative;
  top: calc(-1 * var(--header-offset));
  height: 0;
  margin: 0;
  pointer-events: none;
}

/* Seguridad por si algún estilo pisa [hidden] */
.vm-panel[hidden] { display: none !important; }
.vm-panel.is-active { display: block; }

/* Alternativa adicional: si en el futuro enlazas directo a los paneles */
#panel-vision, #panel-mision { scroll-margin-top: var(--header-offset); }
