.work {
  background-color: inherit;
}

body.work {
  background-color: #e0e0e0;
}

.projects {
  padding: 30px 0 50px 20px;
}

.projects--p {
  color: #000;
} 

.projects--p__work {
  font-size: 15rem;
  margin-bottom: 0;
  line-height: 1;
  font-family: 'kaneda-black';
}

.projects--ul {
  list-style: none;
  padding: 0;
  font-family: 'pp-semibold';
  font-size: 22px;
  color: #000;
  position: fixed;
  
  cursor: pointer;
}

.projects--li p{
  position: relative;
  margin-bottom: 0;
  width: auto;
  display: inline-block;
  min-width: 95px;
}

.projects--li {
  opacity: .5;
  color: #000;
  transition: all 1.3s;
  position: relative;
  max-width: 250px;
}

.projects--li:hover {
  opacity: 1;
  color: #000;
}

.projects--div__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px; 
}

.projects--div__image {
  position: relative;
  cursor: pointer;
}

.projects--img {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
}

.projects--div__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(224,224,224);
  transition: all 1.3s;
  pointer-events: none; 
  opacity: 0;
}

.project-icon-container {
  width: 140px;
  height: 40px;
  position: absolute;
  right: -60px;
  top: -3px;
}

.projects--li:hover .cls-1 {
  stroke-dashoffset: 0; /* Completa el trazo al hacer hover */
}

/* Work Detail */
.work-detail {
  background-color: #e0e0e0;
}

.titulo {
  padding: 50px 0;
}

.work-detail img {
  width: 100%;
}

.div--titulo__contenedor {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.div--titulo__element {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
}

.div--titulo__element img {
  flex-grow: 1;
}

.div--titulo__element h2 {
  font-family: 'kaneda-black';
  margin: 0;
  line-height: 1;
  font-size: 22vw;
  word-wrap: break-word;
  text-transform: uppercase;
}

.div--titulo__imagen img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.div--titulo__imagen2 img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.div--titulo__imagen {
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: calc(100% - 6vw);
  
}

.div--titulo__div {
  display: flex;
  align-items: center;
  padding: 0 10px;
  background-color: #8300ff;
  flex: 1;
  margin-right: 15px;
  height: calc(100% - 6vw);
}

.detalles {
  margin-bottom: 80px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}

.detalles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 250px;
  margin-bottom: 50px;
  margin-top: 30px;
}

.detalles__item {
  width: 100%;
  overflow: hidden;
}

.detalles__item img {
  width: 100%;
  height: auto;
  display: block;
}

.detalles--h1 {
  font-size: 85px;
  font-family: 'kaneda-black';
  line-height: 1;
  text-transform: uppercase;
}

.detalles--p__subtitulo {
  font-size: 35px;
  font-family: 'kaneda-medium';
  line-height: 1;
  margin-top: -10px;
}

.detalles--p__descripcion {
  font-size: 20px;
  font-family: 'pp-light';
  line-height: 1;
  color: #8a8b8d;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.detalles--p__descripcion .detalles--span__bold{
  font-size: 30px;
  font-family: 'kaneda-medium';
  line-height: 1;
  color: #8a8b8d;
  letter-spacing: 2px;
}

.div--detalles__col2 {
  padding-top: 100px;
  width: 100%;
}

.detalles--div__titulo {
  position: relative;
}

.detalles--svg {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 150%;
}

.detalles--svg__mancha {
  margin-bottom: 80px;
}

.modeling {
  margin-top: -50px;
}

.modeling--div {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
}

.modeling--p__title {
  font-size: 65px;
  font-family: 'kaneda-black';
  line-height: 1;
  margin-bottom: 0;
}

.modeling--p__desc {
  max-width: 500px;
  font-size: 20px;
  font-family: 'pp-light';
  line-height: 1;
  color: #8a8b8d;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.descripcion--p__desc {
  max-width: 700px;
  font-size: 20px;
  font-family: 'pp-light';
  line-height: 1;
  color: #8a8b8d;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.imagenes--img__margin {
  margin-bottom: 100px;
}


/* NUEVO ESTILO */
.div--titulo__contenedor {
  padding: 0 20px;
}
.div--titulo__element h2 {
  white-space: nowrap;
  font-size: 17vw;
}

.div--titulo__imagen {
  flex-grow: 1;
}

.div--titulo__div {
  height: calc(100% - 5vw);
}

.div--titulo__imagen {
  height: calc(100% - 5vw);
}

.div--titulo__imagen2 {
  height: calc(100% - 5vw);
}

.div--titulo__element {
  overflow: hidden;
}

.div--titulo__element img {
  flex-grow: initial; /* Borrar valor */
}

.project-name__large {
  font-family: 'kaneda-black';
  margin: 0;
  line-height: 1;
  font-size: 17vw;
  word-wrap: break-word;
  text-transform: uppercase;
}

.img--square {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
}

.div--titulo__large {
  display: flex;
  align-items: center;
  gap: 10px;
}

.div--titulo__image {
  display: inline-block; 
  overflow: hidden; 
  position: relative;
  flex: 1;
  align-self: stretch;
  max-height: calc(100% - 5vw);
  margin-top: 2.5vw;
}

.div--titulo__element:nth-child(2) {
  margin-top: -40px;
}

.div--titulo__large {
  margin-top: -40px;
}

.div--titulo__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 30px;
  max-width: 400px;
}

.p--tag {
  flex: 1 1 45%;
  text-align: center;
  box-sizing: border-box;
  margin-bottom: 0;
  text-align: left;
  line-height: 1;
  font-family: 'pp-light';
  color: #aeaeb0;
  font-size: 20px;
  transition: all 1s ease-in-out;
  cursor: pointer;
} 

.p--tag:hover {
  color: #001fe5
}

.div--detalles__col1 {
  display: flex;
  gap: 20px;
  width: 100%;
  padding: 0 20px
}

.detalles--p__subtitulo {
  flex-grow: 1;
}

.div--detalles__titulo {
  flex-grow: 1;
  position: relative;
}

.div--detalles__col2 {
  padding-top: 0px
}

.div--detalles__descripcion {
  max-width: 800px;
  margin-bottom: 80px;
}

.detalles--svg {
  width: 100%;
  left: -20%;
  bottom: initial;
  top: 15px;
}

.detalles--p__subtitulo {
  margin-top: 0;
  margin-bottom: 0;
}

.modeling {
  margin-top: 100px;
  margin-bottom: 100px;
  padding-left: 0;
  padding-right: 0;
}

.modeling--p__bold {
  font-family: 'pp-semibold';
  font-size: 35px';
}

.modeling--div {
  justify-content: end;
}

.modeling--p__desc {
  max-width: 800px;
  margin-bottom: 70px;
}

.hablemos {
  margin-bottom: 100px;
}

.hablemos--titulo {
  font-size: 35px;
  font-family: 'kaneda-medium';
  line-height: 1;
  margin-top: 0;
  margin-bottom: 0;
}

.hablemos--div__formulario {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 5px;
}

.creditos {
  margin-bottom: 100px;
}

.creditos--titulo {
  font-size: 35px;
  font-family: 'kaneda-medium';
  line-height: 1;
  margin-top: 0;
  margin-bottom: 0;
}

.creditos--div__formulario {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 5px;
}

.modeling--p__desc {
  font-family: 'pp-light';
  font-size: 20px;
}

.descripcion--p__desc {
  font-family: 'pp-light';
  font-size: 20px;
  margin-bottom: 30px;
}

.hablemos--p {
  font-family: 'pp-medium-m';
  font-size: 16px;
  color: #8a8b8d;
  margin-bottom: 0;
}

.hablemos--form {
  flex-grow: 1;
}

.hablemos--input {
  width: 100%;
  border: none;
  background-color: #8300ff;
  color: #c485ff
}

.hablemos--input::placeholder {
  color: #c485ff
}

.hablemos--input:focus-visible {
  outline: none;
}

.hablemos--div {
  max-width: 470px;
  margin-bottom: 40px;
}

.creditos--p {
  font-family: 'pp-medium-m';
  font-size: 16px;
  color: #8a8b8d;
  margin-bottom: 0;
}

.creditos--div {
  flex-grow: 1;
}

.hablemos--div {
  max-width: 470px;
  margin-bottom: 40px;
}

.creditos--ocultar {
  color: #001fe5;
  font-family: 'pp-light';
  display: block;
  margin-bottom: 10px;
}

.creditos--puesto {
  color: #8a8b8d;
  font-family: 'pp-light';
  margin-bottom: 0;
}

.creditos--nombre {
  color: #8a8b8d;
  font-family: 'pp-light';
  margin-bottom: 0;
}

.creditos--div__autor {
  margin-bottom: 20px;
}

.creditos--div__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;;
}

.creditos--row {
  margin-top: -30px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.imagenes, .modeling, .hablemos, .creditos {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.row--stills {
  display: flex;
  gap: 20px;
}

.project-video {
  width: 100%;
}

#carousel-container {
  width: 100%;
  overflow: hidden;
}

.columna {
  width: 33.33333%;
  display: flex;
  align-items: center;
}

.owl-nav {
  position: absolute;
  left: 0;
  top: 40%;
  width: 100%;
  z-index: 1;
}

.owl-prev, .owl-next {
  position: absolute;
}

.owl-prev {
  position: absolute;
  left: 0;
}

.owl-prev span, .owl-next span {
  font-size: 55px;
  font-family: 'pp-light-m';
}

button.owl-prev:focus-visible, button.owl-next:focus-visible {
  outline: none !important;
}

button.owl-prev:focus, button.owl-next:focus {
  outline: none !important;
}

.owl-next {
  position: absolute;
  right: 0;
}

.owl-dots {
  text-align: center;
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 15px;
}

.owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #aaaaaa !important;
}

button.owl-dot:focus-visible {
  outline: none !important;
}

button.owl-dot.active:focus-visible {
  outline: none !important;
}

button.owl-dot:focus {
  outline: none !important;
}

button.owl-dot.active:focus {
  outline: none !important;
}

.owl-dot.active {
  background: #212429 !important;
}

.projects--video {
  width: 100%;
}

.projects--p__name {
  display: none; 
  margin: 0;
}

@media (max-width: 768px) {
  .projects--p__name {
    display: block;
    opacity: .5;
    color: #000;
    transition: all 1.3s;
    position: relative;
    font-size: 30px;
    padding-left: 5px;
  }
}
