/* --- Base (mobile: stack con flex que ya trae la section) --- */
.module.work-with-us .container{ width:100%; }
.module.work-with-us .work-center{ margin-top: 4rem; }

/* Tipografías / tamaños fluidos */
.module.work-with-us .title-left,
.module.work-with-us .title-right{
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 0.96;
  letter-spacing: .5px;
  margin: 0 0 .75rem;
}
.module.work-with-us .copy-left,
.module.work-with-us .copy-right{
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  opacity: .95;
  white-space: pre-line;
}

/* Alineaciones en mobile */
.module.work-with-us .title-left,
.module.work-with-us .copy-left{ text-align: right; }
.module.work-with-us .title-right{ text-align: left; }
.module.work-with-us .copy-right{ text-align: left; } /* bullets alineados a la izquierda */
.module.work-with-us .work-img{
  width: 100%;
  height: auto;
  display: block;
  max-width: 980px; /* límite razonable */
  margin: 0 auto;
  box-shadow: 0 2px 0 rgba(0,0,0,.05);
}

.module.work-with-us .work-img{
  width: 50vw;
}

/* --- Desktop: Grid 3 columnas + proporciones de la maqueta --- */
@media (min-width: 1024px){
  .module.work-with-us{
    padding-top: 8.5rem !important;
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 3fr);
    grid-template-rows: auto auto;
    column-gap: clamp(16px, 1.5vw, 24px);
    row-gap: 1.25rem;
    align-items: start;
  }

  .module.work-with-us .container{
    width: 100%;
  }

  .module.work-with-us .work-left,
  .module.work-with-us .work-right{
    display: contents;
  }

  .module.work-with-us .work-center{
    grid-column: 2;
    grid-row: 2;
    align-self: start !important;
    justify-self: stretch;
    margin-top: 0 !important;
    padding-top: 1.75rem;
    overflow: visible;
  }

  .module.work-with-us .work-img {
    width: 100%;
    max-width: none;
    position: static;
    margin: 0;
  }

  .module.work-with-us .work-left{
    align-self: start;
    justify-self: stretch;
  }
  .module.work-with-us .title-left{
    grid-column: 1;
    grid-row: 1;
    box-sizing: border-box;
    font-size: clamp(26px, 3.8vw, 50px);
    text-align: right;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding-right: 0;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }
  .module.work-with-us .copy-left{
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    max-width: none;
    margin: 0;
    text-align: right;
  }

  .module.work-with-us .work-right{
    align-self: start;
    justify-self: stretch;
    position: relative;
    z-index: 1;
    background: transparent;
  }
  .module.work-with-us .title-right{
    grid-column: 3;
    grid-row: 1;
    box-sizing: border-box;
    font-size: clamp(26px, 3.8vw, 50px);
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    text-align: left;
    padding-left: 0;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }
  .module.work-with-us .copy-right{
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    max-width: none;
    margin: 0;
    text-align: left;       
  }
}

/* Mobile responsive adjustments */
@media (max-width: 900px) {
  .module.work-with-us {
    padding: 2rem 1rem 2rem 1rem !important;
    gap: 2rem !important;
  }
  
  .module.work-with-us .title-left,
  .module.work-with-us .title-right {
    font-size: 7vw;
    text-align: center !important;
    margin: 0 auto 1rem;
    position: static !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
  }
    .module.work-with-us .title-left {
      margin-top: 3.5rem !important;
    }
  
  .module.work-with-us .copy-left,
  .module.work-with-us .copy-right {
    font-size: 4vw;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 90vw !important;
  }
  
  .module.work-with-us .work-img {
    width: 90vw !important;
    max-width: 90vw !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin: 1rem auto !important;
    display: block;
  }
  
  .module.work-with-us .work-left,
  .module.work-with-us .work-center,
  .module.work-with-us .work-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
