.nosotros {
  padding: 60px 40px;
  text-align: center;
  background-color: #f5d9f5;
}

.nosotros-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.nosotros-text {
  flex: 1;
  text-align: left;
}

.nosotros-text h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #222;
}

.nosotros-text p {
  font-size: 18px;
  max-width: 500px;
  line-height: 1.6;
  color: #333;
}

.nosotros-mockups {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.laptop-mockup {
  position: relative;
  width: 700px; /* Increased from 600px */
  height: 350px; /* Increased from 300px */
}

.laptop-frame {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.laptop-screen {
  position: absolute;
  top: 3%; /* 15/500 * 100 */
  left: 3%; /* 30/1000 * 100 */
  width: 94%; /* 940/1000 * 100 */
  height: 83%; /* 415/500 * 100 */
  overflow: hidden;
  border-radius: 5px;
}

.laptop-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-mockup {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 300px;
}

.phone-frame {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.phone-screen {
  position: absolute;
  top: 2.5%; /* 10/400 * 100 */
  left: 5%; /* 10/200 * 100 */
  width: 90%; /* 180/200 * 100 */
  height: 95%; /* 380/400 * 100 */
  object-fit: cover;
  border-radius: 10px;
}

.nosotros-team {
  margin-top: 80px;
  text-align: center;
}

.nosotros-team h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222;
}

.nosotros-team p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 1024px) {
  .nosotros-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nosotros-text {
    text-align: center;
  }

  .nosotros-text p {
    max-width: 100%;
  }

  .laptop-mockup {
    width: 466px; /* Maintain 2:1 ratio */
    height: 233px;
  }

  .phone-mockup {
    width: 100px;
    height: 200px;
    bottom: -30px;
    right: -30px;
  }
}

@media (max-width: 768px) {
  .nosotros {
    padding: 40px 20px;
  }

  .nosotros-text h1 {
    font-size: 32px;
  }

  .nosotros-text p {
    font-size: 16px;
  }

  .laptop-mockup {
    width: 350px; /* Maintain 2:1 ratio */
    height: 175px;
  }

  .phone-mockup {
    width: 80px;
    height: 160px;
    bottom: -20px;
    right: -20px;
  }

  .nosotros-team h2 {
    font-size: 28px;
  }

  .nosotros-team p {
    font-size: 16px;
  }
}