/* LOCALAB · laboratorios.php */

header.loca-laboratorios_intro {
  padding: 48px var(--loca-content-padding-x, 25px) 0;
  position: static;
  overflow: visible;
  background: #000;
}

.loca-laboratorios_intro {
  background: #000;
  color: #fff;
}

.loca-laboratorios_intro_inner {
  max-width: var(--loca-content-max, 1350px);
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.loca-laboratorios_lead {
  margin: 0;
  max-width: 560px;
  font-family: var(--loca-font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Sistema LoCa (diagrama) ===== */
.loca-sistema {
  background: #000;
  color: #fff;
  padding: 32px var(--loca-content-padding-x, 25px) 80px;
  overflow: visible;
}

.loca-sistema_inner {
  max-width: var(--loca-content-max, 1350px);
  width: 100%;
  margin: 0 auto;
}

.loca-sistema_title {
  margin: 0 0 12px;
  font-family: var(--loca-font-display);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.loca-sistema_title_em {
  font-weight: 600;
}

.loca-sistema_label {
  margin: 0 0 34px;
  font-family: var(--loca-font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.loca-sistema_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.loca-sistema_diagram {
  position: relative;
  width: 100%;
  max-width: none;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: visible;
}

.loca-sistema_rays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.loca-sistema_rays line {
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 0.3;
}

.loca-sistema_rays circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 0.3;
}

.loca-sistema_circle {
  position: absolute;
  width: 28%;
  height: 28%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  pointer-events: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.loca-sistema_circle--center {
  left: 36%;
  top: 36%;
}

.loca-sistema_circle.is-active {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.loca-sistema_circle[data-sistema-circle="0"] { left: 36%; top: 22%; }
.loca-sistema_circle[data-sistema-circle="1"] { left: 48.1%; top: 29%; }
.loca-sistema_circle[data-sistema-circle="2"] { left: 48.1%; top: 43%; }
.loca-sistema_circle[data-sistema-circle="3"] { left: 36%; top: 50%; }
.loca-sistema_circle[data-sistema-circle="4"] { left: 23.9%; top: 43%; }
.loca-sistema_circle[data-sistema-circle="5"] { left: 23.9%; top: 29%; }

.loca-sistema_node {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 6px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.loca-sistema_node[data-sistema-idx="0"] { left: 50%; top: 4%; }
.loca-sistema_node[data-sistema-idx="1"] { left: 88%; top: 22%; }
.loca-sistema_node[data-sistema-idx="2"] { left: 88%; top: 78%; }
.loca-sistema_node[data-sistema-idx="3"] { left: 50%; top: 96%; }
.loca-sistema_node[data-sistema-idx="4"] { left: 12%; top: 78%; }
.loca-sistema_node[data-sistema-idx="5"] { left: 12%; top: 22%; }

.loca-sistema_node_prefijo {
  display: block;
  font-family: var(--loca-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.loca-sistema_node_name {
  display: block;
  margin-top: 2px;
  font-family: var(--loca-font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.loca-sistema_node.is-active .loca-sistema_node_name {
  color: #fff;
}

.loca-sistema_panel {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 38px 36px;
  min-height: 360px;
}

.loca-sistema_panel_item {
  display: none;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 284px;
}

.loca-sistema_panel_item.is-active {
  display: flex;
}

.loca-sistema_panel_item[hidden] {
  display: none;
}

.loca-sistema_panel_kicker {
  margin: 0;
  font-family: var(--loca-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.loca-sistema_panel_title {
  margin: 8px 0 0;
  font-family: var(--loca-font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #fff;
}

.loca-sistema_panel_text {
  margin: 16px 0 0;
  font-family: var(--loca-font-body);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.loca-sistema_panel_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.loca-sistema_tag {
  font-family: var(--loca-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 7px 13px;
}

.loca-sistema_cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 12px 22px;
  font-family: var(--loca-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.loca-sistema_cta:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* ===== Colaboradores (logos) ===== */
.loca-colaboradores {
  background: #000;
  color: #fff;
  padding: 60px var(--loca-content-padding-x, 25px) 90px;
}

.loca-colaboradores_inner {
  max-width: var(--loca-content-max, 1350px);
  width: 100%;
  margin: 0 auto;
}

.loca-colaboradores_title {
  margin: 0 0 34px;
  font-family: var(--loca-font-display);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.loca-colaboradores_grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.loca-colaboradores_item {
  aspect-ratio: 1.35 / 1;
  background: #000;
  transition: background-color 0.2s ease;
}

.loca-colaboradores_item:hover {
  background: #131313;
}

.loca-colaboradores_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 18px 14px;
  box-sizing: border-box;
}

.loca-colaboradores_img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.loca-colaboradores_placeholder {
  width: 100%;
  height: 100%;
  background: #0a0a0a;
}

@media (max-width: 1100px) {
  .loca-sistema_grid {
    gap: 28px;
  }

  .loca-sistema_node_name {
    font-size: 15px;
  }
}

@media (max-width: 991px) {
  header.loca-laboratorios_intro,
  .loca-sistema,
  .loca-colaboradores {
    padding-left: 20px;
    padding-right: 20px;
  }

  .loca-sistema_grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .loca-sistema_diagram {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .loca-sistema_node_prefijo {
    font-size: 9px;
  }

  .loca-sistema_node_name {
    font-size: 13px;
  }

  .loca-colaboradores_grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .loca-sistema {
    padding-top: 48px;
    padding-bottom: 70px;
  }

  .loca-sistema_title {
    margin-bottom: 10px;
  }

  .loca-sistema_label {
    margin-bottom: 24px;
    letter-spacing: 0.22em;
  }

  .loca-sistema_panel {
    padding: 28px 22px;
    min-height: 0;
  }

  .loca-sistema_panel_item {
    min-height: 0;
  }

  .loca-sistema_node_prefijo {
    font-size: 8px;
  }

  .loca-sistema_node_name {
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .loca-colaboradores_title {
    margin-bottom: 24px;
  }

  .loca-colaboradores_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Laboratorios (bloques + carrusel) ===== */
.loca-lab-block {
  background: #000;
  color: #fff;
  padding: var(--loca-section-padding) 0;
}

.loca-lab-block_prefijo {
  margin: 0 0 6px;
  font-family: var(--loca-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.4);
}

.loca-lab-block_head_row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.loca-lab-block_num {
  flex: 0 0 auto;
  font-family: var(--loca-font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
}

.loca-lab-block_titles {
  min-width: 0;
  overflow: visible;
}

.loca-lab-block_name {
  margin: 0;
  font-family: var(--loca-font-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow: visible;
  color: #fff;
}

/* Carrusel laboratorios · recuadros uniformes */
.loca-lab-block .loca-carousel_wrap {
  padding: 0;
  overflow: visible;
}

.loca-lab-block .loca-carousel .owl-stage-outer {
  overflow: hidden;
}

.loca-lab-block .loca-carousel .owl-item {
  display: flex;
  align-items: stretch;
}

.loca-lab-block .loca-carousel_slide {
  width: 100%;
  padding: 0 3px;
}

.loca-lab-block .loca-carousel_visual {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.loca-lab-block .loca-carousel_frame {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
}

.loca-lab-block .loca-carousel_caption {
  margin-top: 8px;
  font-family: var(--loca-font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: center;
}
