/* =========================
   SOLUCIONES HERO
========================= */

.soluciones-hero {
  position: relative;
  height: 55vh;
  min-height: 350px;
  background: url('../assets/images/hit_emprendimientos.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.soluciones-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.soluciones-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.soluciones-hero h1 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(36px, 8vw, 72px);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* =========================================
   SOLUCIONES INFO SIMPLE
========================================= */

.soluciones-info-simple {
  width: 100%;
  padding: 120px 0;
  background: #1C2249;
}

.soluciones-info-simple-container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.soluciones-info-simple p {
  font-family: 'Maven Pro', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.9;
  color: #ffffff;
}


@media (max-width: 900px) {

  .soluciones-info-simple {
    padding: 80px 0;
  }

  .soluciones-info-simple-container {
    width: 92%;
    max-width: 100%;
  }

  .soluciones-info-simple p {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* =========================
   SECCIÓN CAMINO DE TRABAJO
========================= */
.camino-trabajo {
  width: 100%;
  padding: 100px 20px 40px 20px;
  background-color: #ffffff;
  text-align: center;
}


.camino-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  gap: 30px;
}

.camino-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 5%;
  right: 5%;
  height: 4px;
  background-color: #00D6FF;
  z-index: 1;
  transform: translateY(-50%);
}

.camino-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100px;
  margin-bottom: 60px;
}

.camino-step img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 20px;
  position: relative;
  top: -40px;
  cursor: pointer;
}

.camino-dot {
  width: 20px;
  height: 20px;
  background-color: #00D6FF;
  border-radius: 50%;
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.camino-step h3 {
  margin-top: 22px;
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: 16px;
  color: #1C2249;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
}

.camino-step h3.single-line {
  align-self: flex-start;
  margin-top: 42px;
}

.camino-step h3.two-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
}

.camino-step.active .camino-dot {
  background-color: #1C2249;
}

.camino-step:not([data-target]) {
  cursor: default;
}

.camino-step:not([data-target]) .camino-dot {
  opacity: 0.6;
  background-color: #00D6FF;
  transform: none;
  position: relative;
  top: -40px;
  left: 0px;
  transform: translateY(-50%);
  filter: grayscale(20%) brightness(1.1);
  cursor: default;
}

.camino-step:not([data-target]) h3 {
  color: #1C2249;
  margin: 13px;
  cursor: default;
}

.camino-step:not([data-target]) img {
  cursor: default;
}


@media (min-width: 768px) and (max-width: 1023px) {
  .camino-steps {
    gap: 50px;
  }

  .camino-steps::before {
    width: 88%;
    left: 6%;
  }
}

@media (max-width: 767px) {
  .camino-trabajo {
    padding: 20% 3%;
    padding-bottom: 0;
  }

  .camino-container {
    width: 100%;
    margin: 0;
    padding-left: 10%;
    height: 40%;
  }

  .camino-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  .camino-steps::before {
    top: 4%;
    bottom: 0;
    left: 40%;
    width: 4px;
    height: 83%;
    transform: translateX(-50%);
  }

  .camino-step {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }

  .camino-step img {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    border-radius: 50%;
    margin: 0;
    top: 0;
    justify-content: flex-start;
    padding-top: 1%;
  }

  .camino-dot {
    position: absolute;
    left: 40%;
    top: 0;
    transform: translateX(-50%) translateY(87%);
    z-index: 3;
  }

  .camino-step.active .camino-dot {
    transform: translateX(-50%) translateY(87%) scale(1.2);
    background-color: #1C2249;
  }

  .camino-step:not([data-target]) .camino-dot {
    position: absolute;
    top: 0;
    left: 40%;
    opacity: 0.6;
    filter: grayscale(20%) brightness(1.1);
    z-index: 3;
    transform: translateX(-50%) translateY(87%);
  }

  .camino-step h3 {
  margin: 0;
  text-align: center;
  flex: 1;
  padding-right: 0%;
  font-size: 3vw;
  max-width: 12ch;
  position: relative;
  margin-left: 40%;
  }

  .camino-step h3.single-line,
  .camino-step h3.two-lines {
    display: block;
    align-items: flex-end;
    margin-top: 0;
  }

  .camino-step h3.single-line {
    padding-top: 18px;
  }

  .camino-step:not([data-target]) h3 {
    margin-left: 40%;
  }
}



/* =========================
   SECCIÓN UNIDADES DE NEGOCIO
========================= */
.unidades-negocio {
  width: 100%;
  padding: 0px 40px 80px 40px;
  background-color: #ffffff;
  text-align: center;
}

.unidades-negocio h2 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: clamp(36px, 4vw, 48px);
  margin-bottom: 25px;
  line-height: 1.2;
  text-transform: uppercase;
}

.unidades-negocio p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 55px;
  color: #ffffff;
}

.unidades-tabs {
  display: block;
  margin-top: 60px;
}

.unidades-info {
  background-color: #ffffff;
  border: 2px solid #1C2249;
  padding: 20px 30px;
  border-radius: 8px;
  min-height: 300px;
}

.unidad-info {
  display: none;
}

.unidad-info.active {
  display: block;
}

.unidad-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.unidad-info img {
  width: 40%;
  height: auto;
  border-radius: 6px;
  margin-top:30px;
}

.unidad-text {
  width: 60%;
}

.unidad-info h3 {
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: 24px;
  margin-bottom: 15px;
  color: #1C2249;
}

.unidad-info p {
  font-family: 'Maven Pro', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #1C2249;
  margin-top: 40px;
  margin-bottom: 35px;
}

.unidad-link {
  display: inline-block;
  font-family: 'GT Walsheim Bold', sans-serif;
  font-size: 16px;
  color: #1C2249;
  background-color: #ffffff;
  border: 2px solid #1C2249;
  border-radius: 6px;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.unidad-link:hover {
  background-color: #1C2249;
  color: #ffffff;
}


@media (max-width: 768px) {
  .unidades-tabs {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .unidad-inner {
    flex-direction: column;
  }

  .unidad-inner img,
  .unidad-text {
    width: 100%;
  }

  .unidades-info {
    margin-top: 20px;
  }
}